Abort a rebase in progress (e.g. if it is interrupted by a merge conflict)

git rebase

  • Reapply commits from one branch on top of another branch.
    Commonly used to "move" an entire branch to another base, creating copies of the commits in the new location.
    More information: <https://git-scm.com/docs/git-rebase>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

git rebase --abort

click the source code to copy install git rebase on any operating system with command-not-found.com