Poe Poe - 1 year ago 132
Git Question

Git: how to ignore hidden directories?

I'd like to have Git ignore all hidden files and directories, i.e.

. Is there a simple rule to cover this without specifically adding each entry?

Answer Source

Just add a pattern to .gitignore


Edit: Added the .gitignore file itself (matters if it is not yet commited).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download