修改远程库

$ git remote

$ git remote rm origin

$ git remote add origin git@xxx.git

$ git push
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

posted @ 2019-04-28 12:04  名著人士  阅读(123)  评论(0编辑  收藏  举报