On Tue, Mar 11, 2014 at 2:50 AM, rhugga <chuck.car...@gmail.com> wrote:
> So .gitignore is used to hide certain file types which is great. But how do
> you have it ignore the file itself?
> I put .gitignore in the file itself and that works but seems more like a
> work around than as intended.
The reasons and explanations others have given to not ignore gitignore
should not be ignored :-)
However if you insist, the manual does give options to do what you want
$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
The last option ie .gitignore, is the standard and recommended way.
The other two will give you what you want ($GIT_DIR is normally just
your .git directory)
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.