Skip to content

Instantly share code, notes, and snippets.

@joebasurto
Last active June 15, 2019 06:53
Show Gist options
  • Save joebasurto/b68b304f7a9e98eee6955b64dd9c9d2b to your computer and use it in GitHub Desktop.
Save joebasurto/b68b304f7a9e98eee6955b64dd9c9d2b to your computer and use it in GitHub Desktop.
GIT Merge/Push BAT
:: 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