git:fatal the current branch master has no upstream branch

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

 

git push -u "resp" master

resp为git仓库的“地址”

reference中由解决方案

http://blog.csdn.net/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

posted @ 2014-08-28 11:15  foo__hack  阅读(5325)  评论(0编辑  收藏  举报