Suppressing diffs for deleted files in git

In Git versions 1.8.5 and newer, you can do this using the --diff-filter option and specifying “d” (lowercase) to tell it to exclude deleted files.

$ git diff --diff-filter=d

In Git versions older than 1.8.5, you can do this with the --diff-filter option and specifying all but the “D” (deleted) criteria:

$ git diff --diff-filter=ACMRTUXB

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)