Git diff command showing entire file is modified instead of showing modified small part of code

前端 未结 5 947
旧巷少年郎
旧巷少年郎 2021-02-07 02:02

I am using git repository. Everything is working properly except git diff command. Whenever I modify any file then git diff command showing entire file is modified even though I

5条回答
  •  梦如初夏
    2021-02-07 02:57

    Compare the output of git diff and git diff -b. Whitespace may be to blame. Reflowing text might be another (you didn't mention what you were storing).

提交回复
热议问题