git error when trying to push to remote branch - Stack Overflow
You can find what's in either (but not both) with the triple-dot syntax: git log Li...origin/Li. If the diff is expected, then just merge with git merge origin/Li and then git push. If the change is unwanted, overwrite the remote with git push -f origin Li. Only do this if you want to abandon the remote's changes. Share Improve this answer Follow