GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Git Merge Branch to Master |
$ git push origin kt/dev # Push local branch to remote $ git checkout main $ git pull origin main $ git merge kt/dev $ git push origin main $ git checkout kt/dev |
Note that if you have already set the upstream as in:
$ git push --set-upstream origin kt/dev |
$ git push |