Created
February 1, 2013 16:22
-
-
Save IngmarBoddington/4692320 to your computer and use it in GitHub Desktop.
git flow commands
(see: https://github.com/nvie/gitflow for resources)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git flow init | |
- Sets up 'proper' branch structure for repo | |
git flow feature | |
- List feature branches | |
git flow feature start <name> | |
- Begin a new feature branch from develop and switch to it | |
git flow feature finish <name> | |
- Complete feature, merge into develop, delete feature branch | |
git flow feature publish <name> | |
git flow feature pull <remote> <name> | |
- Push / pull feature to remote (for collaboration) | |
git flow release | |
- List release branches | |
git flow release start <name> [<base>] | |
- Start release branch from develop and switch to it, optional base is commit on develop | |
git flow release finish <name> | |
- Complete a release, merge into develop, merge into master, delete branch, | |
git flow hotfix | |
- List hotfix branches | |
git flow hotfix start <release> [<base>] | |
- Start hotfix branch from master, switch to it | |
git flow hotfix finish <release> | |
- Complete hotfix, merge into master and remove branch | |
git flow support | |
- List support branches | |
git flow support start <release> <base> | |
- Create new support branch from master, base must be a commit on master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment