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

Re: Confusion using git on svn server

From
FWFlorian Weimer <fw@deneb.enyo.de>
Date
Jun 22, 2009, 06:16 UTC
Message-ID
<877hz4ssi9.fsf@mid.deneb.enyo.de>
In-Reply-To
<fabb9a1e0906212304o2b61d081i4cf72300be8bd775@mail.gmail.com>
* Sverre Rabbelier:
> It moves your tree only if you add --hard, although in case of a reverted
> revert it doesn't matter.

Well, this is part of the checkout/reset confusion. Even without --hard, reset changes where the working tree is located in the history. But it doesn't perform a checkout.

As you said, with a rever, this shouldn't matter.
Previous: Florian Weimer
Message 5 of 5 in “Confusion using git on svn server”
  1. Matthieu StiglerJun 20, 2009
  2. Florian WeimerJun 21, 2009
  3. Matthieu StiglerJun 21, 2009
  4. Florian WeimerJun 21, 2009
  5. Florian WeimerJun 22, 2009

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.