'git status' shows changed files, but 'git diff' doesn't

前端 未结 15 1909
轻奢々
轻奢々 2020-12-12 11:37

I\'ve had a look at all similar questions. However, I\'ve double checked and something strange is definitely happening.

On one server (Solaris with Git 1.8.1) I clon

15条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 12:02

    I had a similar problem: git diff would show differences, but git diff would not. It turned out that I set LESS to a string including -F (--quit-if-one-screen). Removing that flag solved the problem.

提交回复
热议问题