Skip to content

Instantly share code, notes, and snippets.

@thevangelist
Last active January 11, 2023 11:38
Show Gist options
  • Save thevangelist/26335b3df08d2cd9bbc13b358b209fe5 to your computer and use it in GitHub Desktop.
Save thevangelist/26335b3df08d2cd9bbc13b358b209fe5 to your computer and use it in GitHub Desktop.
Git Diff alias excluding package-lock.json
[alias]
giff = "!git diff --stat $1 -- ':(exclude)*package-lock.json'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment