No problem — it's a common gotcha: .gitignore only filters untracked files, so once something's been committed, git keeps tracking it regardless of ignore rules. The git rm --cached I staged fixes that, and with *.egg-info/ now in .gitignore it won't come back after you commit.