Cheatography
https://cheatography.com
Getting startedInitialize a new repository inside an existing git repository with git flow init . |
Types of branchesFeature branch | For developing new features | Release branch | Staging area for new releases | Hotfix branch | Production fixes (based on master ) | Bugfix branch | Development fixes (based on develop ) | Support branch | Production fixes for a specific release |
FeaturesShow feature branches | git flow feature [list]
| Start a new feature | git flow feature start FEATURENAME
| Publish feature branch to remote | git flow feature publish FEATURENAME
| Finish up a feature | git flow feature finish FEATURENAME
|
Finishing a feature branch will merge it into develop .
ReleasesShow release branches | git flow hotfix [list]
| Start a new release | git flow hotfix start VERSION
| Publish release branch to remote | git flow hotfix publish VERSION
| Finish up a release | git flow hotfix finish VERSION
|
Finishing a release branch will merge it into master and develop while also tagging it.
| | HotfixesShow hotfix branches | git flow hotfix [list]
| Start a new hotfix | git flow hotfix start FIXNAME
| Publish hotfix branch to remote | git flow hotfix publish FIXNAME
| Finish up a hotfix | git flow hotfix finish FIXNAME
|
Finishing a hotfix branch will merge it into master .
BugfixesShow bugfix branches | git flow bugfix [list]
| Start a new bugfix | git flow bugfix start FIXNAME
| Publish bugfix branch to remote | git flow bugfix publish FIXNAME
| Finish up a bugfix | git flow bugfix finish FIXNAME
|
Finishing a bugfix branch will merge it into develop .
SupportShow support branches | git flow support [list]
| Start a new support branch | git flow support start VERSION
|
|
Created By
Metadata
Favourited By
Comments
Release section is in error, all statements are for hotfixes.
I think you should integrate the fact to the base can be provided. For instance:
git flow feature start login feature/security
How to rate it?
Add a Comment
Related Cheat Sheets