I switched to master after developing on a branch for a long time. The log shows:

Your branch is behind ‘origin/master’ by 167 commits, and can be fast-forwarded.

I tried:

git checkout HEAD

It has no effect. This is because I have checkout an intermediate commit on master.

How to make master stay on head?

11 Answers
11

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *