git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Vereshagin <peter@vereshagin.org>
To: paragkalra <paragkalra@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to revert 'git reset' command
Date: Sat, 1 May 2010 10:41:14 +0400	[thread overview]
Message-ID: <20100501064114.GA5643@screwed.box> (raw)
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

  reply	other threads:[~2010-05-01  6:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01  5:48 How to revert 'git reset' command paragkalra
2010-05-01  6:41 ` Peter Vereshagin [this message]
2010-05-01 17:19   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100501064114.GA5643@screwed.box \
    --to=peter@vereshagin.org \
    --cc=git@vger.kernel.org \
    --cc=paragkalra@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).