Re: Question about git



wow! thanks for the lesson
regards
tv

On Tue, May 26, 2009 at 9:00 PM, Simos Xenitellis <simos lists googlemail com> wrote:
However, if you run 'git reset --hard HEAD^', then you alter the
working copy to match
the state before the last commit. If you run this command repeatedly,
then each time you
remove a commit and your local repository goes back in time.

Similarly, if you run 'git reset --hard HEAD^^', then you lose the two
last commits at a time.



--
My blogs: [all in Tamil]
http://anmikam4dumbme.blogspot.com/
http://chitirampesuthati.blogspot.com/ photo blog now with english text too!
http://kathaikathaiyaam.blogspot.com/

BE HAPPY! LIFE IS TOO SHORT TO BE UNHAPPY!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]