I\'ve edited my GIT repositories via Git Online. After I tried to push my local code changes, I got an error:
Git push failed, To prevent from losing histor
Encountered the same problem, to solve it, run the following git commands.
git
git pull {url} --rebase
git push --set-upstream {url} master
You must have created the repository on github first.