git merge --no-commit feature-xyz

Category: Git - Core

git merge --no-commit feature-xyz

Merge without creating a commit

Performs the merge and stages the result but leaves the final commit for you to make or inspect. Useful for reviewing the combined tree before committing. A later plain git commit finishes the merge.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.