3 ms·
>the consequences of doing a rebase when you wanted a pull can be disastrous and hard to undo git reflog can easily rollback a rebase.
by gizmo686 12y ago
>the consequences of doing a rebase when you wanted a pull can be disastrous and hard to undo
git reflog can easily rollback a rebase.
- jrochkind1 12y agoI realize it can be done, I generally don't find it easy, cause I have to remind myself how to do it, and it is a somewhat manual process of making sure you've found the right point to rollback to, etc. And of course, if you've made subsequent commits after the rebase but before you notice the mistake -- still can be done, but less and less easy. On the other hand, if you pull when you meant to rebase, that's somewhat easier and less error-prone to switch. For me anyway. ymmv.