On Wed, 14 May 2014 01:31:58 -0700 (PDT)
Girish Kulkarni <gir...@athene.org.in> wrote:

> I have a project directory under Git. I am generally extremely happy
> with Git’s performance. But I have one very annoying issue: every few
> days Git forgets my .gitignore.
[...]

What does the word "forgets" precisely mean?
Do you see -- all of a sudden -- this file as untracked in the output
of `git status`?

Then we need more context, like do you switch branches?
(The .gitignore file is not special when it comes to tracking it in the
repository: if you have N branches by the time you introduce this file,
you have to add and commit it on all N branches if you want it to apply
to each of them.)  Are you collaborating with other folks?  If someone
deletes that file and you merge those changes in, the file will be
deleted.

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to