git-merge-into
Merge current branch into target
TLDR
Merge current into target
SYNOPSIS
git merge-into target-branch
DESCRIPTION
git merge-into merges the current branch into another branch without manually switching. It reverses the normal merge workflow where you would first checkout the target branch, perform the merge, then switch back.
The command checks out the target, performs the merge, then returns to the original branch automatically. This saves the repetitive workflow of switching branches for a simple merge operation.
PARAMETERS
TARGET-BRANCH
Branch to merge into.--help
Display help information.
CAVEATS
Part of git-extras package. Requires clean working directory. Conflicts may leave you on target branch.
HISTORY
git merge-into is part of git-extras, providing a convenience command for the reversed merge workflow.
SEE ALSO
git-merge(1), git-checkout(1)
