Merge Branch to Master, Create Tag From Master, Create New Branch from Master

BRANCH=’branch-1.0.4′
PRODUCTION=’production-1.0.4′
NEW_BRANCH=’branch-1.0.5′

 

# Merge Branch to master
git checkout master
git pull origin master
git merge $BRANCH
git push origin master

 

# create tag from master
git checkout master
git pull origin master
git tag $PRODUCTION
git push origin $PRODUCTION

 

# create new branch from master
git checkout master
git pull origin master
git checkout -b $NEW_BRANCH
git push origin $NEW_BRANCH

Tags:

Comments are closed.