Here's what I've done:
git fetch origin
git checkout master
Switched to branch 'master'
Your branch is ahead of 'origin/master' by 2 commits.
git pull
Already up-to-date.
But git pull doesn't seem to work! This is the output I get when I try git checkout master:
git checkout master
Already on 'master'
Your branch is ahead of 'origin/master' by 2 commits.
Why is this? How do I fix it?
Pull is fine; you don't have any new updates from your remote server to add to your local machine.
What you do have are two commits that aren't on origin/master which you should look to push.
Use git push origin master while on master to rectify this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With