Quantcast
Channel: Undoing a git rebase - Stack Overflow
Viewing all articles
Browse latest Browse all 23

Answer by Alex Gontmakher for Undoing a git rebase

$
0
0

I actually put a backup tag on the branch before I do any nontrivial operation (most rebases are trivial, but I'd do that if it looks anywhere complex).

Then, restoring is as easy as git reset --hard BACKUP.


Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>