Just add a pattern to .gitignore
.*
!/.gitignore
Edit: Added the .gitignore file itself (matters if it is not yet commited).
Just add a pattern to .gitignore
.*
!/.gitignore
Edit: Added the .gitignore file itself (matters if it is not yet commited).