On Thu, Mar 14, 2013 at 10:40:52PM +0100, Markus Teich wrote:
> If you realy need a .gitignore, you can use your own locally:
> just add
> echo "/.gitignore" >> .gitignore
> and the .gitignore file itself as well as everything else matching
> the ignore patterns will not show up in "git status" anymore.
>

This solution can cause problems. The best solution in this case is using a
exclude file in your local repository. It has the same format than
gitignore, but it is located in .git/info/, so git doens't show it like
modified file.

Reply via email to