git push异常No refs in common and none specified; doing nothing. Perhaps you should specify a branch

  • git push异常具体如下(一般发生在首次推送):
No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'
  • 翻译过来就是没有指定推送到哪个分支里去。
  • 解决方案:使用git push origin master 可以指定推送该远程库的主分支去。

posted on 2018-10-11 23:18  愤怒的苹果ext  阅读(246)  评论(0)    收藏  举报

导航