git:fatal the current branch master has no upstream branch

本文详细介绍了如何解决Git推送时遇到的错误,即当前分支master存在多条上游分支的情况。提供了从参考链接获取的解决方案,并解释了如何正确使用git push命令。同时,还讨论了可能导致此类问题的原因以及预防措施。

git push的时候发生上述错误。

 

git push -u "resp" master

resp为git仓库的“地址”

reference中由解决方案

http://blog.youkuaiyun.com/qqb123456/article/details/25319659

 

reference:

http://stackoverflow.com/questions/13030714/git-1-8-0-fatal-the-current-branch-master-has-multiple-upstream-branches-refu?utm_source=feweekly&utm_campaign=issue0&utm_medium=web

转载于:https://www.cnblogs.com/foohack/p/3941170.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值