-
Notifications
You must be signed in to change notification settings - Fork 163
git flow hotfix
AlanQuatermain edited this page Mar 28, 2013
·
1 revision
git flow hotfix [list] [-v] git flow hotfix start [-F] <version> [<base>] git flow hotfix finish [-Fsumpk] <version> git flow hotfix publish <version>
Provides commands for managing hotfix releases. This involves branching from an existing (tagged) release and making changes there, then merging these changes back to develop and master when finishing the hotfix branch.
Lists all the hotfix branches in the local repository.
- -v
-
Optional.
Shows additional detail on the relation between the hotfix branch and its source.
Creates a new hotfix branch from master
, using the version number provided. Can optionally be based on a particular commit or tag (such as one for an earlier release).
Note that there can be only one hotfix branch at any one time.
- -F
-
Optional.
Perform a fetch from the origin repository before creating the new branch. - <version>
- The release version number for the hotfix; i.e. the version number under which this hotfix will be released.
- <base>
-
Optional.
A commit or tag on `master` upon which to base the new branch.
Finishes a hotfix branch, merging it back into master
and develop
, tagging the release on master
and finally removing the hotfix branch itself.
- -F
-
Optional.
Perform a fetch from origin before finishing the hotfix. - -s
-
Optional.
Cryptographically sign the release tag. - -u
-
Optional.
Use the given GPG key to sign the release tag. Implies-s
. - -m
-
Optional.
Use the given tag message. - -p
-
Optional.
Push to origin after finishing the hotfix.
Pushes the identified hotfix branch to the origin repository and sets up the local copy to track it.
- <version>
- The version number of the hotfix branch to publish.