Disables the default fast forwarding on merge commits.
git config --add merge.ff false
to disable fast-forward merging for all branches, even if it is possible.--global
flag 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
Git, Configuration
Configures the repository to automatically create upstream branches on push.
Git, Configuration
Use the name of the current branch when pushing by default as the name of the remote branch.
Git, Configuration
Configures user information for git.