最近idea改了文件后用git会显示no changes detected

查出来我是因为新安装了git,路径有变化。可以点击test按钮测试idea里的git是否可用(我现在是可用的,之前的显示error):

git commit:no changes detected

 

所以显示error的话本地执行which git查一下git的路径,然后把idea里的git路径改一下就好了,如下图:

git commit:no changes detected

 

 

 

相关文章:

  • 2022-12-23
  • 2021-10-12
  • 2021-05-30
  • 2021-12-17
  • 2021-06-21
  • 2021-07-28
  • 2021-07-26
猜你喜欢
  • 2022-01-11
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2022-02-14
相关资源
相似解决方案