Disables the default fast forwarding on merge commits.
git config --add merge.ff falseto disable fast-forward merging for all branches, even if it is possible.
--globalflag to configure this option globally.
git config [--global] --add merge.ff false
git config --global --add merge.ff false git checkout master git merge my-branch # Will never fast forward even if it's possible
Use the name of the current branch when pushing by default as the name of the remote branch.
Merging a branch is a pretty common Git operation. Learn how fast-forward mode works and its benefits, so you can decide if it's a good fit for you and your team.
Configures user information for git.