Git development branch
Jump to navigation
Jump to search
Create a new feature branch named beta:
git checkout -b beta
Add or move a tag develop to that branch:
git tag -fa develop
After a normal git commit push back that branch to remote:
git push origin beta:beta --tags -f
Switch back to normal branch, or push back to master:
git checkout master
git push master
Finally merge the branch back to master, remove development label, delete beta branch, push all to remote.
git checkout master
git merge beta
git tag -d develop
git push --delete origin develop
git branch -d beta
git push origin --delete beta