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
Using the --rebase option worked for me.
--rebase
git pull --rebase
Then push to the repo.
git push
E.g.
git pull origin master --rebase
git push origin master