创建新项目,clone后首次push,出现

$ 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 'file:///xxxxxxx.git'  

原因

Git找不到要提交的版本

解决

git push origin master

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-06-06
  • 2021-06-06
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-07
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案