Git diff without lock files (#snippet)

My friends Benedikt shared a quick and easy way to diff git branch without lockfiles! 😲
git diff –shortstat master — . ‘:(exclude)yarn.lock’ ‘:(exclude)package-lock.json’

Reply to Stefan

My friends Benedikt shared a quick and easy way to diff git branch without lockfiles! 😲

git diff --shortstat master -- . ':(exclude)yarn.lock' ':(exclude)package-lock.json'

Reply to Stefan
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: