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

Re: git mv + git pull issue

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 6, 2008, 15:40 UTC
Message-ID
<alpine.DEB.1.00.0806061639390.1783@racer>
In-Reply-To
<4848EDDF.7090906@melosgmbh.de>
Hi,
On Fri, 6 Jun 2008, Christoph Duelli wrote:
Show 7 quoted lines
> cd ../gitmv
> git mv afile newname
> # do not commit
> # now: afile is not in the directory anymore
> # oh, I need those changes my colleague made...
> git pull ../gitmv-clone/
> # now: both(!) afile and newname are in the directory

What is so surprising there? We _always_ recommend to commit before pulling.

Ciao, Dscho

Previous: Christoph DuelliNext: Christoph Duelli
Message 2 of 3 in “git mv + git pull issue”
  1. Christoph DuelliJun 6, 2008
  2. Johannes SchindelinJun 6, 2008
  3. Christoph DuelliJun 9, 2008

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.