起因

从今年34月开始,使用Vscode去暂存的时候会报错Git:fatal xxx is outside repository,但是可以用插件GitLens去暂存,就很麻瓜。在网上找了很多方法,都没有用,之后一直被迫用GitLens去暂存。

解决

无聊中在网上看到了某个大兄弟的博客,才发现是Git版本的问题,我是2.9的远古版本了,更新了2.21之后就ok了!


btw,vscode的插件真香
VsCode暂存时报错Git:fatal xxx is outside repository

相关文章:

  • 2021-05-22
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2021-08-14
  • 2021-09-19
  • 2021-05-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-05-25
  • 2022-12-23
  • 2021-05-22
相关资源
相似解决方案