How to exclude a file from git diff

git diff --color ":(exclude)*lock.json"