社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
$ git push
fatal: The current branch code has no upstream branch.
致命:当前的分支代码没有上游分支。
To push the current branch and set the remote as upstream, use
若要推送当前分支并将远程设置为上游,请使用
git push --set-upstream origin code
可以使用 : git push --set-upstream origin code 进行上传代码分支.这样就就可以进行版本管控了
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!