Created
December 5, 2020 06:10
-
-
Save thunderrun/fc56703ed6296faebf865bf6a235e5e6 to your computer and use it in GitHub Desktop.
Merge current branch into master
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 push | |
FOR /F "tokens=*" %%g IN ('git branch --show-current') do ( | |
SET CurrentBranch=%%g | |
) | |
git checkout master | |
git pull | |
git merge %CurrentBranch% | |
git push | |
git checkout %CurrentBranch% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment