News for hackers. Stuff that matters.
Re:Jenkin developers accidentally do "git push --force" to o... by bereft_orange on Wednesday November 13, 2013 @10:28AM (#6725749)
Yes, the ability to rollback history more easily than paging through `git reflog` would be great. (in particular, if you rebase often you end up with a lot of cruft).
Re:Jenkin developers accidentally do "git push --force" to o... by cjh_ on Wednesday November 13, 2013 @04:01PM (#6728479)
Locally in git you have the HEAD@{n} notation to step back n steps through the reflog, so after a bad rebase a `git reset --hard HEAD@{1}` should be all you need.