LinuxCommandLibrary

git-imerge

git-imerge

TLDR

Start imerge-based rebase (checkout the branch to be rebased, first)

$ git imerge rebase [branch_to_rebase_onto]
copy


Start imerge-based merge (checkout the branch to merge into, first)
$ git imerge merge [branch_to_be_merged]
copy


Show ASCII diagram of in-progress merge or rebase
$ git imerge diagram
copy


Continue imerge operation after resolving conflicts (git add the conflicted files, first)
$ git imerge continue --no-edit
copy


Wrap up imerge operation, after all conflicts are resolved
$ git imerge finish
copy


Abort imerge operation, and return to the previous branch
$ git-imerge remove && git checkout [previous_branch]
copy

Copied to clipboard