Reputation: 1419
I was accidently using the gh-pages branch so now it has become the most updated one. How can I bring the master branch up to date if it hasn't been used? I think the proper diagram is this
/ E-F-G
A-B-C-D
How would I go about this? when ever I've tried I always mess it up
A-B-C-D-E...
Upvotes: 1
Views: 79
Reputation: 13743
If the diagram is correct, you don't need to rebase.
If you merge, git will perform a fast-forward merge, giving you:
A-B-C-D-E-F-G
So:
git checkout master
git merge gh-pages
Upvotes: 1