Skip to content

Instantly share code, notes, and snippets.

@sagarkarira
Created July 9, 2019 08:16
Show Gist options
  • Select an option

  • Save sagarkarira/a824bdc7b2c09bc3f1cf491f233df431 to your computer and use it in GitHub Desktop.

Select an option

Save sagarkarira/a824bdc7b2c09bc3f1cf491f233df431 to your computer and use it in GitHub Desktop.
[Git commands] Some not so common but useful commands I need to remember #git #cli
## Git diff excluding certain files
``
git diff -- . ':(exclude)package-lock.json'
``
##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment