You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my experience, the most common "getting stuck" situation for novice git users is getting stuck doing a rebase or a merge with conflicts.
In these situations, doing git merge --abort or git rebase --abort will put you right back where you were before executing the merge or rebase, and is the simplest way to recover from accidental bad merges or rebases.
I think the page should probably mention these commands because they very simple and work in the most common situations.
The text was updated successfully, but these errors were encountered:
In my experience, the most common "getting stuck" situation for novice git users is getting stuck doing a rebase or a merge with conflicts.
In these situations, doing
git merge --abort
orgit rebase --abort
will put you right back where you were before executing the merge or rebase, and is the simplest way to recover from accidental bad merges or rebases.I think the page should probably mention these commands because they very simple and work in the most common situations.
The text was updated successfully, but these errors were encountered: