Skip to content

Instantly share code, notes, and snippets.

@fczuardi
Last active December 2, 2019 19:48
Show Gist options
  • Save fczuardi/2dda1c6b9d53c57fa80f285eb1b51e5e to your computer and use it in GitHub Desktop.
Save fczuardi/2dda1c6b9d53c57fa80f285eb1b51e5e to your computer and use it in GitHub Desktop.
.pre_commit:
image: stoqdev2/pre-commit:latest
stage: pre_commit
script:
- git fetch origin master
- pre-commit run --source `git rev-list origin/master -1` --origin HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment