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

前端 未结 15 1883
轻奢々
轻奢々 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:07

    I suspect there is something wrong either with your Git installation or your repository.

    Try running:

    GIT_TRACE=2 git 
    

    See if you get anything useful. If that doesn't help, just use strace and see what's going wrong:

    strace git 
    

提交回复
热议问题