Sfwd favicon 152

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 


Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts