Purple Haze
Purple Haze

Reputation: 550

Github merge another branch to your local master branch

I am new to git and github, i cloned a project's master branch to my local machine, i want to know how i can merge another remote branch to the branch i have on my machine.

Upvotes: 1

Views: 96

Answers (1)

hspandher
hspandher

Reputation: 16743

Simply merge it.

git fetch
git checkout <mybranch>
git merge <remote_branch>

Upvotes: 1

Related Questions