I am fairly new to git yet currently using it to manage our code in a team environment. I had some rebasing issues and I fixed them using
git
git ch
I had this problem! I tried: git fetch + git merge, but dont resolved! I tried: git pull, and also dont resolved
Then I tried this and resolved my problem (is similar of answer of Engineer):
git fetch origin master:tmp git rebase tmp git push origin HEAD:master git branch -D tmp