No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'ma

git push后报错

No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'git@xxxxxxx'

此报错意思为git不知道您当前提交的版本
解决办法:

git push origin master

你可能感兴趣的:(技术分享,git)