Exclude a file from GIT Diff

git diff -- . ':(exclude)com/watchmouse/rest/utils/abc.java'


git diff -- . ':(exclude)db/irrelevant.php'