Re: Uncommitted source and header files disappeared after a git mv operation
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 23, 2010, 11:23 UTC
- Message-ID
- <vpqwrtqf0w8.fsf@bauges.imag.fr>
- In-Reply-To
- <AANLkTim8TblD_TUpmGR2vCjQnXMfK4WAFA3dh39dloAs@mail.gmail.com>
Laszlo Papp <djszapi@archlinux.us> writes:
Show 10 quoted lines
> I had some news. > > I have just checked the bash history on linux, which doesn't contain > any intereting, but I have just realised the situation now, so the > following happened: > > 1) So the uncommitted files were on windows > 2) I renamed the whole directory under linux. > 3) I pushed the changes under linux > 4) At last I did a git pull under windows.
Are you sure the files are not where they used to be (i.e. under the directory name used before renaming)?
Git usually takes great care not to touch untracked files. I'd be very surprised if it did for you.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/