Hotfix branches
Creating the hotfix branch: > hg up default > hg branch hotfix-1.2.1 > ./bump-version.sh 1.2.1 > hg commit -m "Bumped version number to 1.2.1" > ./bugfix > hg commit -m "Fixed severe production problem" Finishing a hotfix branch: > hg up default > hg merge hotfix-1.2.1 > hg tag 1.2.1 > hg com > hg up dev > hg merge hotfix-1.2.1 > hg com > hg up hotfix-1.2.1 > hg com -m "closing branch" --close-branch | Feature branches
Creating a feature branch: > hg up dev > hg branch myfeature Incorporating a finished feature on develop: > hg up dev > hg pull > hg merge myfeature > hg com -m "Merge myfeature" > hg up myfeature > hg com -m "closing branch" --close-branch > hg up dev > hg push - | Release branches
Creating a release branch: > hg up dev > hg branch release-1.2 > ./bump-version.sh 1.2 > hg commit -m "Bumped version number to 1.2" Finishing a release branch: > hg up default > hg merge release-1.2 > hg tag 1.2 > hg com > hg up dev > hg merge release-1.2 > hg com > hg up release-1.2 > hg com -m "closing branch" --close-branch - |
Cheatography
https://cheatography.com
Mercurial workflow Cheat Sheet by alexo_o
Workflow based on http://nvie.com/posts/a-successful-git-branching-model/
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets