25
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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/

25
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
25
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?