Reputation: 16085
I noticed that in a newly created git repo, directories like __pycache__
or .svn
are already ignored. I don't remember configuring git to ignore these directories. How can I view the list of patterns that are currently ignored by git? I'm using git v2.1.3.
Upvotes: 10
Views: 1216
Reputation: 620
Note that git ignores empty directories - it just cannot store them. Also you can check if there's global gitignore created in your system (~/.gitignore_global
)
Upvotes: 5