“git diff” does nothing

后端 未结 5 1713
我寻月下人不归
我寻月下人不归 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:46

    It does nothing if your working directory is clean and there are no differences from the last update. Try editing a file and then run git diff again, and it should then show the diff.

提交回复
热议问题