Created
May 13, 2015 07:24
-
-
Save gismo141/8e93443d99407b0c5561 to your computer and use it in GitHub Desktop.
git merge/delete branch (best-practice)
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 checkout <feature-branch> | |
git pull | |
git checkout <release-branch> | |
git pull | |
git merge --no-ff <feature-branch> | |
git push | |
git tag -a branch-<feature-branch> -m "Merge <feature-branch> into <release-branch>" | |
git push --tags | |
git branch -d <feature-branch> | |
git push origin :<feature-branch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment