Join histories
medium risk
git merge --no-commit --no-ff <branch>Merge without committing to inspect firstIntegrates another branch into the current one.
| Flag | Meaning |
|---|---|
--no-ff --no-ff | Always create a merge commit |
--abort --abort | Cancel an in-progress merge |
--squash --squash | Squash into one change |
git merge --no-ff featureMerge with a merge commit · explain & risk-check →git merge --abortCancel · explain & risk-check →Reference text is hand-written and may be incomplete — check man git for your version. Test destructive commands on a non-production system first.