Git - Merge branch into master
by flandersen
Posted on February 23, 2019
Merging a Git branch locally can be done the following.
Source: changing_index_page
Target: master
# listing branches (* = current branch)
$ git branch
* changing_index_page
master
# checkout target branch
$ git checkout master
$ git merge changing_index_page
59 files changed, 181 insertions(+), 809 deletions(-)
# delete branch
$ git branch -d changing_index_page
Deleted branch changing_index_page (was 11c2e2d).
Atlassian has a nice Git tutorial: https://www.atlassian.com/git
Previous article