<< Back to Blog

23 MARCH 2018

GIT Release Branch Strategy

These steps mimic the GIT flow process using manual steps, based on this breakdown of Gitflow Commands and summary.

Ensure that all work in the Develop branch is fully tested and ready for Live.

Make sure your local repo is up to date and view the current tags

git fetch
git tag

Create a Release branch from Develop

git checkout develop
git pull origin develop
git checkout -b release/1.2.3

Merge release branch into master and tag and push to live

git checkout master
git pull origin master
git merge --no-ff release/1.2.3
git tag 1.2.3
git push --tags origin master

Move back to develop branch and remove release branch

git checkout develop
git branch -d release/1.2.3