Git 未能;“推送原点主控”;
我正在尝试将我的文件提交到GitHub。 我的命令:Git 未能;“推送原点主控”;,git,github,Git,Github,我正在尝试将我的文件提交到GitHub。 我的命令: git status git add -A git commit -m 'message' git push master origin 然后这些错误出现了 error: src refspec origin does not match any. error: failed to push some refs to 'master' 我该怎么做才能解决这个问题? 谢谢。您拥有git push master origin…请尝试以下命令:
git status
git add -A
git commit -m 'message'
git push master origin
然后这些错误出现了
error: src refspec origin does not match any.
error: failed to push some refs to 'master'
我该怎么做才能解决这个问题?
谢谢。您拥有git push master origin…请尝试以下命令:
git-push-origin-master
您有git-push-origin-master
…请尝试以下命令:
git-push-origin-master
git-push[repository][refspec]
,如果您的情况正好相反,请尝试git-push-origin-master
。换句话说,您正试图推送到存储库master
一个名为origin
的分支git push[repository][refspec]
,反之亦然,请尝试git push origin master
。换句话说,您正试图推送到存储库master
一个名为origin
的分支。