Skip to content

Instantly share code, notes, and snippets.

@ajermakovics
Created January 4, 2021 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajermakovics/7c64c923b478d47a886c3f8b6e9512cf to your computer and use it in GitHub Desktop.
Save ajermakovics/7c64c923b478d47a886c3f8b6e9512cf to your computer and use it in GitHub Desktop.
Git commands
git diff-index --quiet HEAD -- || ( echo "Uncommitted changes" && exit 1 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment