Skip to content

Instantly share code, notes, and snippets.

@luislobo
Created November 19, 2015 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislobo/2ccf10426b1773d3550d to your computer and use it in GitHub Desktop.
Save luislobo/2ccf10426b1773d3550d to your computer and use it in GitHub Desktop.
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