On Sun, 13 Mar 2011 12:08:32 +0800 Chow Loong Jin hyperair@gmail.com wrote:
You could actually use .git/info/exclude instead for that functionality. Then you can use stuff like git clean -fdx, and not worry about accidentally purging your .gitignore. .gitignore should only be used if you want to commit it into the repository.
I had a talk with a git expert a couple of days ago and he mentioned that this (.git/info/exclude) is the better approach on doing this.
Cheers, Frank