LoginSignup
24
12

More than 5 years have passed since last update.

git diff で改行コードを無視

Posted at

デザイナーさんがcssを修正してくれて、それをリポジトリに取り込んだ時など、改行コードが変わってしまっていて、git diffをとると全部----++++になっていまい、どこを修正したのか全くわからないことがある。

そういう時は

git diff -w css/main.css

参考サイト
http://9ensan.com/blog/server/git-svn-diff-crlf-ignore/

24
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
24
12