Timeline for How can I undo git reset --hard HEAD~1?
Current License: CC BY-SA 2.5
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2014 at 10:32 | comment | added | Richard Le Mesurier | @kizzx2 (and Jorg) actually those 3 explanations, when taken together, help a lot - thx | |
Jul 22, 2009 at 22:02 | comment | added | Jörg W Mittag | The problem is that the term "history" is really overloaded in VCSs. Yet another way to express is would be that ~ goes backwards in commit history, whereas @ goes backwards in chronological or temporal history. But none of the three versions is particularly good. | |
Jul 22, 2009 at 17:30 | comment | added | kizzx2 | Another explanation that I think would be clearer: HEAD~1 means go to "parent of HEAD," while HEAD@{1} go to "go back one step in HEAD's history" | |
Aug 29, 2008 at 1:49 | history | edited | Jörg W Mittag | CC BY-SA 2.5 |
deleted 184 characters in body
|
Aug 27, 2008 at 3:45 | history | answered | Jörg W Mittag | CC BY-SA 2.5 |