Created
July 19, 2017 15:03
-
-
Save coppolaemilio/1e8dcc1c559e23004d06937c46c46f27 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 add . | |
| git commit -a -m %2 | |
| git push | |
| for /f "delims=" %%i in ('git rev-parse --symbolic-full-name --abbrev-ref HEAD') do set output=%%i | |
| git checkout %1 | |
| git merge %output% --no-edit | |
| git push | |
| git checkout %output% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment