LWN.net Logo

Bazaar on the slow track

Bazaar on the slow track

Posted Sep 26, 2012 9:34 UTC (Wed) by makomk (guest, #51493)
In reply to: Bazaar on the slow track by robert_s
Parent article: Bazaar on the slow track

git rebase should always save the previous state of the branch being rebased in ORIG_HEAD, so if you screw it up and get the branch names the wrong way around you should just be able to do "git reset --hard ORIG_HEAD" so long as you realise immediately (or "git rebase --abort" if the rebase failed partway through).


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds