1

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...

1 Answer 1

1

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 
Sign up to request clarification or add additional context in comments.

1 Comment

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.