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

Answer by Greg Hewgill for Undoing a git rebase

$
0
0

For multiple commits, remember that any commit references all the history leading up to that commit. So in Charles' answer, read "the old commit" as "the newest of the old commits". If you reset to that commit, then all the history leading up to that commit will reappear. This should do what you want.


Viewing all articles
Browse latest Browse all 23

Trending Articles



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