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

Re: How to revert 'git reset' command

From
Peter Vereshagin <peter@vereshagin.org>
Date
May 1, 2010, 06:41 UTC
Message-ID
<20100501064114.GA5643@screwed.box>
In-Reply-To
<1272692918690-4989146.post@n2.nabble.com>
Como esta, paragkalra?
You may want to try to make a new commit:
git commit -a
Another way is to rerpair your Git history from your remote repository, if one exists

2010/04/30 22:48:38 -0700 paragkalra <paragkalra@gmail.com> => To git@vger.kernel.org : p> I have just started learning - Git. Today while exploring Git, I executed p> following: p> p> git reset p> p> Now 'git status' is showing some files under - 'Unstaged changes after p> reset:' p> p> How can I revert back the effect of - 'git reset' p> 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627)

-- 
http://vereshagin.org
Previous: paragkalraNext: Junio C Hamano
Message 2 of 3 in “How to revert 'git reset' command”
  1. paragkalraMay 1, 2010
  2. Peter VereshaginMay 1, 2010
  3. Junio C HamanoMay 1, 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.