On Thursday, November 8, 2012 9:42:56 PM UTC, Daniel Dotsenko wrote:
> Re "reverting -ammend'ed commit"
> "git -ammend" unpacks previous commit, adds more changes to it and creates 
> a new commit. The old commit can potentially still be around as blob until 
> you "git gc" but is definitely not visible to you anymore. ...

Until the old commit has been garbage-collected, "git reflog" will provide 
its SHA1; you are then able to do all the usual git things with it.


Reply via email to