saffsd
saffsd

Reputation: 24292

How do I omit certain files from the `git status` report?

I'm using git and developing in Python (although this is obviously relevant to any other data managed with git). How do I tell git I don't want to see all the .pyc files from python in git status?

Upvotes: 2

Views: 296

Answers (1)

jfs
jfs

Reputation: 414139

Add to the file .gitignore the following line:

*.pyc

See gitignore(5).

Upvotes: 8

Related Questions