Peter Vereshagin <peter@xxxxxxxxxxxxxx> writes: > 2010/04/30 22:48:38 -0700 paragkalra <paragkalra@xxxxxxxxx> => To git@xxxxxxxxxxxxxxx : > 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> > 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 If "git reset" was run without any other options nor arguments (which paragkalra seems to have done), there is no damage in the git history that needs to be repaired. "git reset" by default only resets the index to match the commit that is checked out. All that is lost is "git add" done since that commit. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html