diff returning entire file for identical files

后端 未结 4 947
清酒与你
清酒与你 2020-12-01 14:04

I\'ve got a website that has a git repo. I cloned the repo so that I could develop in one directory and then push to the repo, and then pull in the live/prod directory (woul

4条回答
  •  北海茫月
    2020-12-01 14:28

    Most likely it's line termination. Try git diff --ignore-space-at-eol. And for plain (not git) diff it's diff -b.

提交回复
热议问题