The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to I sync two GitHub branches?

Tim Cook
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 1, 2012

I have my master branch and I want to get it in sync with my gh-pages branch. How do I do this in sourcetree?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 4, 2012

You have a choice between merging and rebasing, this blog post might be useful: http://blog.sourcetreeapp.com/2012/08/21/merge-or-rebase/

Usually, you'll want to merge if these are different branches and they're both visible on GitHub already. In SourceTree, you can use the Merge toolbar button to merge another branch into your current branch (so if you have master checked out, you could merge gh-pages into it), or you can right-click on a branch in either the sidebar or in the log and select 'Merge' to bring that branches changes into your current branch.

TAGS
AUG Leaders

Atlassian Community Events