git push报错 fatal: The current branch master has no upstream branch. To push the current

因为只是git push没有指明哪个仓库。所以就报错了。指定仓库之后就成功了!(git push origin master)

如图:

转自:git push报错 fatal: The current branch master has no upstream branch. To push the current_南北极之间的博客-CSDN博客

 

posted @ 2022-09-01 16:19  信铁寒胜  阅读(556)  评论(0编辑  收藏  举报