Merge with a commit
suggest changeBy default, when the merge resolves as a fast-forward, Git only moves the branch pointer and does not create a merge commit. Use --no-ff to create a merge commit anyway.
git merge <branch_name> --no-ff -m "<commit message>"
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents