Merge a branch into the current branch
Usually, you’ll want to merge a branch into the master branch, so first make sure you’ve moved into the master branch with git checkout master
and then:
That will merge the contents of new-branch-name
in with the master branch (or whatever branch you’re currently on).
PreviousSetup terminal prompt to show the current git branchNextPush a new branch up to GitHub (if it doesn’t exist there yet)
Last updated