Last active
June 15, 2019 06:53
-
-
Save joebasurto/b68b304f7a9e98eee6955b64dd9c9d2b to your computer and use it in GitHub Desktop.
GIT Merge/Push BAT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Turn off print output string | |
ECHO OFF | |
:: Change title | |
title JBCreativFirm GIT Merge/Push | |
:: GIT branch algorithm | |
cls | |
git add . | |
git status | |
git commit -m "Default" | |
git commit --allow-empty -m "Live Deploy" | |
git checkout master | |
git merge dev | |
git checkout release | |
git merge master | |
git checkout dev | |
git push -u origin --all | |
git push --tags | |
:: Pause for verification | |
PAUSE | |
cls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment