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

原文地址:https://www.cnblogs.com/foohack/p/3941170.html