原因分析

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

解决方法

touch README
git add README 
git commit -m 'first commit'
git push origin master

 

相关文章:

  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2022-03-09
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
相关资源
相似解决方案