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

Re: confusion with some `git reset` commands

From
KKKonstantin Khomoutov <flatworm@users.sourceforge.net>
Date
Dec 18, 2014, 12:09 UTC
Message-ID
<20141218150933.01825f2d6c827aa6eab99507@domain007.com>
In-Reply-To
<2055441.uOK6yH3IMG@linux-wzza.site>

On Wed, 17 Dec 2014 01:09:08 +0630 Arup Rakshit <aruprakshit@rocketmail.com> wrote:

[...]
> But I am looking for any differences -
> 
> a) git reset --soft and git reset --keep
> b) git reset --hard and git reset --merge

Please consider reading http://git-scm.com/book/en/v2/Git-Tools-Reset-Demystified

Previous: Christian Couder
Message 4 of 4 in “confusion with some `git reset` commands”
  1. Arup RakshitDec 16, 2014
  2. KevinDec 18, 2014
  3. Christian CouderDec 18, 2014
  4. Konstantin KhomoutovDec 18, 2014

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.