'git diff' doesn't give any output

前端 未结 9 2146
迷失自我
迷失自我 2020-12-08 09:11

If I run git diff I would expect to see a list of changes of my working directory relative to whatever had been committed before (or a list of the working direc

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 10:01

    I had a LESS=-R environment variable set. It made git diff show a blank screen.

    The solution for me:

    unset LESS
    

提交回复
热议问题