Re: Files that cannot be added to the index
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Aug 26, 2011, 14:10 UTC
- Message-ID
- <4E57A93A.6090405@drmicha.warpmail.net>
- In-Reply-To
- <CAMvu5bLuRWinMYNc4NoRKQKiLCWLcwkpowEFT4GQ0mcJYj6eOg@mail.gmail.com>
seanh venit, vidit, dixit 26.08.2011 14:26:
Show 10 quoted lines
> Can anyone guess what's going on when I have a modified file that > shows up in `git status`, but the file cannot be added to the index > (or committed)? `git add FILE` does nothing, the file still shows as > modified but not added in `git status`. > > I have two different repos that have each developed this problem with > two different files. I don't know how it happened. The problem occurs > wherever the repos are cloned. Even if I delete the local copy (where > I'm seeing the problem) and clone the repo again from elsewhere, > problem persists.
A log of your commands (or access to the repo) would help diagnose that, along with information about the system and the git version.
Do you "clone" by making a copy, by any chance?
Michael