原因分析:

引起该错误的原因是目录中没有文件,空目录是不能提交上去的

解决办法:

 
$ touch xxx
 
$ git add -A .
 
$ git commit –m ’xxx’
 
$ git push origin master

 

相关文章:

  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
猜你喜欢
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2021-10-08
相关资源
相似解决方案