joelmdev
joelmdev

Reputation: 11773

Shorthand for git merge's --no-ff flag

Most verbose flags have a shorthand version, for instance

git branch --delete

has

git branch -d

Is there a shorthand version of git merge's --no-ff flag that I'm missing? I've got an alias setup to shorten the command but I don't get command line tab completion with an alias.

Upvotes: 0

Views: 87

Answers (1)

Gergo Erdosi
Gergo Erdosi

Reputation: 42048

There is no shorthand for --no-ff. You can see all the available options in the manual: git-merge. If you always use --no-ff, you can make it default:

git config --global merge.ff false

Upvotes: 3

Related Questions