“git diff” does nothing

后端 未结 5 1761
我寻月下人不归
我寻月下人不归 2021-01-30 12:32

I presume this is a configuration error somewhere, but I can\'t figure out where. Regular git commands appear to work fine, but \"git diff\" does nothing. To be safe, I remove

5条回答
  •  独厮守ぢ
    2021-01-30 12:38

    Not in your case, but maybe because the file that you pass not exists

    $ git difftool HEAD HEAD^ -- path/that-not-exists
    

    nothing happen

提交回复
热议问题