Git - some files are marked as changed but 'git diff' doesn't show anything

前端 未结 6 632
广开言路
广开言路 2021-02-02 07:11

I am quite new to Git, thus maybe I am missing something here.

dan@one:/var/www/$ git status -s
M  GoogleChromeExtension.js
M  ApiClient.js

So

6条回答
  •  春和景丽
    2021-02-02 07:48

    Make sure that you're not actually within another git repository. And if for some reason above commands fails, try to run:

    git show HEAD
    

提交回复
热议问题