1.强制push到远程
git push -f origin master
2.fatal: remote origin already exists 错误解决办法
git remote rm origin git remote add origin https://github.com/xxx/xxx-demo.git git push -u origin master
1.强制push到远程
git push -f origin master
2.fatal: remote origin already exists 错误解决办法
git remote rm origin git remote add origin https://github.com/xxx/xxx-demo.git git push -u origin master