正在使用git  init --bare 它的成立裸仓库后,,正在使用git 其他命令将出现fatal:This operation must be run in a work tree 问题,途径:

        第一touch readme 当你创建一个光秃秃的仓库,因为,不产生readme 文件。情况的出现不能提交。

然后,它可以使用git init,git add readme

 git commit和其他命令。

版权声明:本文博客原创文章,博客,未经同意,不得转载。

相关文章:

  • 2022-12-23
  • 2021-08-01
  • 2021-06-18
  • 2021-06-21
  • 2021-04-11
  • 2021-05-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-05-01
相关资源
相似解决方案