git remote remove origin后在使用git remote add origin命令添加后提交代码报错:fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master,
git branch -a查看分支:只有master分支,
使用 git push -u origin master命令 报:fatal: unable to access 'http://x@x/r/CDM/HeartLove.git/': Failed to connect to 127.0.0.1 port 10080: Connection refused
建议删除.git文件重新操作