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

How to revert 'git reset' command

From
Pparagkalra <paragkalra@gmail.com>
Date
May 1, 2010, 05:48 UTC
Message-ID
<1272692918690-4989146.post@n2.nabble.com>
Hi All,

I have just started learning - Git. Today while exploring Git, I executed following:

git reset

Now 'git status' is showing some files under - 'Unstaged changes after reset:'

How can I revert back the effect of - 'git reset'

Cheers, Parag

-- 
View this message in context: http://git.661346.n2.nabble.com/How-to-revert-git-reset-command-tp4989146p4989146.html
Sent from the git mailing list archive at Nabble.com.
Next: Peter Vereshagin
Message 1 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.