Skip to content

Instantly share code, notes, and snippets.

@petrkohut
Created August 18, 2017 14:46
Show Gist options
  • Save petrkohut/37f900ecbbf29925845cdc4b380f01d1 to your computer and use it in GitHub Desktop.
Save petrkohut/37f900ecbbf29925845cdc4b380f01d1 to your computer and use it in GitHub Desktop.
Check if last commit contains changes in package.json
git log -n 1 --pretty=format:%H -- package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment