Last active
February 19, 2016 06:18
-
-
Save vikaskanani/39c30a14cd5f93c5a375 to your computer and use it in GitHub Desktop.
gp.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
git checkout development | |
IF %ERRORLEVEL% neq 0 GOTO error | |
git merge vikas | |
IF %ERRORLEVEL% neq 0 GOTO error | |
git push origin development | |
IF %ERRORLEVEL% neq 0 GOTO error | |
git checkout master | |
IF %ERRORLEVEL% neq 0 GOTO error | |
git merge development | |
IF %ERRORLEVEL% neq 0 GOTO error | |
git push origin master | |
IF %ERRORLEVEL% neq 0 GOTO error | |
git checkout vikas | |
GOTO end | |
:error | |
:end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment