-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Command Line Arguments
(version 0.4.1)
-d use default branch names
-f force
Initialize a new git repo with support for the branching model.
-v verbose (more) output
Lists existing features
-F fetch from $ORIGIN before performing local operation
Start new feature <name>, optionally basing it on <base> instead of <develop>
-r rebase instead of merge
-F fetch from $ORIGIN before performing finish
-k keep branch after performing finish
-D force delete feature branch after finish
-S squash feature during merge
Finish feature <name>
Start sharing feature <name> on $ORIGIN
Start tracking feature <name> that is shared on $ORIGIN
Show all changes in <name> that are not in <develop>
-i do an interactive rebase
Rebase <name> on <develop>
Switch to feature branch <name>
Pull feature <name> from <remote>
-v verbose (more) output
Lists existing releases
-F fetch from $ORIGIN before performing local operation
Start new release named <version>
-F fetch from $ORIGIN before performing finish
-s sign the release tag cryptographically
-u use the given GPG-key for the digital signature (implies -s)
-m use the given tag message
-p push to $ORIGIN after performing finish
-k keep branch after performing finish
-n don't tag this release
-S squash release during merge
Finish release <version>
Start sharing release <name> on $ORIGIN
Start tracking release <name> that is shared on $ORIGIN
-v verbose (more) output
Lists existing hotfixes
-F fetch from $ORIGIN before performing local operation
Start new hotfix named <version>, optionally base it on <base> instead of <master>
-F fetch from $ORIGIN before performing finish
-s sign the release tag cryptographically
-u use the given GPG-key for the digital signature (implies -s)
-m use the given tag message
-p push to $ORIGIN after performing finish
-k keep branch after performing finish
-n don't tag this release
Finish hotfix <version>
-v verbose (more) output
Lists existing support branches
-F fetch from $ORIGIN before performing local operation
Start new support branch named <version> based on <base>
A remote repo different from origin can be specified in the config file:
$ git config gitflow.origin myorigin
If you always want to fetch from $ORIGIN before certain operations, for example before starting a feature:
$ git config gitflow.feature.start.fetch true
This can still be overridden on the command line by supplying the --nofetch argument.
If you want to have the default be not to tag you can set this config:
$ git config gitflow.hotfix.finish.notag true