Skip to content

Instantly share code, notes, and snippets.

@andyford
Created February 13, 2023 12:30
Show Gist options
  • Select an option

  • Save andyford/cb74a849d2e90815e3fe79b5dbd687c0 to your computer and use it in GitHub Desktop.

Select an option

Save andyford/cb74a849d2e90815e3fe79b5dbd687c0 to your computer and use it in GitHub Desktop.
git diff exclude
# ignore package-lock.json file
git diff -- ':!package-lock.json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment