Created
May 8, 2014 10:33
-
-
Save signalpillar/1354e3ec03735cfdad03 to your computer and use it in GitHub Desktop.
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
merge as one commit | |
# update develop | |
git fetch origin | |
git co develop | |
git rebase origin/develop | |
# be sure that you don't have conflicts | |
git co <feature-branch> | |
git merge develop | |
# merge into develop | |
git co develop | |
git merge --squash <feature-branch> | |
git ci -m "RM-XXX: <short descr> | |
<long here> | |
" | |
git push origin develop | |
# remove local branch | |
git branch -D <feature-branch> | |
# remove remote branch, if exists | |
git push origin :<feature-branch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment