git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Previous: Laszlo Papp
Message 6 of 6 in “Uncommitted source and header files disappeared after a git mv operation”
  1. Laszlo PappJun 23, 2010
  2. Santi BéjarJun 23, 2010
  3. Laszlo PappJun 23, 2010
  4. Mahesh VaidyaJun 23, 2010
  5. Laszlo PappJun 23, 2010
  6. Matthieu MoyJun 23, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.