Created
March 29, 2019 11:50
-
-
Save weslley39/1f22a30368a7051ab9d10c800711af08 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
Pushing to a different branch | |
If you want to push to the same remote but a different branch. Use the following syntax; | |
git push <branch with new changes>:<branch you are pushing to> | |
For example: | |
git push origin dev:master | |
This pushses local dev branch to origin master branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment