How to show uncommitted changes in Git and some Git diffs in detail

前端 未结 4 825
傲寒
傲寒 2020-12-22 15:01

How do I show uncommitted changes in Git?

I STFW\'ed, and these commands are not working:

teyan@TEYAN-THINK MINGW64 /d/nano/repos/PSTools/psservice (         


        
4条回答
  •  死守一世寂寞
    2020-12-22 15:31

    For me, the only thing which worked is

    git diff HEAD
    

    including the staged files, git diff --cached only shows staged files.

提交回复
热议问题