admin管理员组文章数量:1635678
问题:git push时,出现fatal: No configured push destination.
PS D:\2022\03\forum> 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
PS D:\2022\03\forum>
--mirror[=(push|fetch)]
set up remote as a mirror to push to or fetch from
原因:推送至远程仓库时,缺少目标仓库地址
解决方法:
1、添加远程仓库地址:
git remote add origin https://github/**/*.git
2、 推送本地代码至远程仓库分支
git push -u origin master
可提供远程搭建运行服务
不会调试运行的同学,你只需打开远程,会帮你搭建调试好一切(JDK、Idea/Eclipse、MySQL、Tomcat、Maven………)
点击获取项目源码
本文标签: configuredFATALdestinationpush
版权声明:本文标题:解决fatal: No configured push destination. 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1729214017a1190205.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论