Skip to content

Instantly share code, notes, and snippets.

@chriwo
Last active May 29, 2017 07:40
Show Gist options
  • Save chriwo/ffe190e6e2c577f08cd0af678c05d6f8 to your computer and use it in GitHub Desktop.
Save chriwo/ffe190e6e2c577f08cd0af678c05d6f8 to your computer and use it in GitHub Desktop.
How to create a version release
git fetch
git checkout -b release develop
--- Merge release into master branch
git checkout master
git pull origin master
git merge release
git push origin master
--- Merge release into develop branch
git checkout develop
git merge release
git push origin develop
--- Delete release branch
git branch -d release
--- Create a version tag
git tag -a x.x.x -m "Commit message" master
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment