Rebase Or Merge Branch Into Master Using GIT

Posted By Weston Ganger

Sometimes you may want to take a branch and rebase it to the master branch. Here is a simple way to get this done.

First make sure you are on the branch you want to merge, then run the following commands:

# First make sure you are on the branch you want to merge
git fetch origin
git rebase origin/master

Related External Links:

Article Topic:Software Development - Web Development

Date:October 11, 2016