Git

How To Rebase Or Merge Branch Into Master Using GIT

Posted by Weston Ganger on October 11, 2016

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:


Posted in Web Development and Tagged with git 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts