Last active
December 2, 2019 19:48
-
-
Save fczuardi/2dda1c6b9d53c57fa80f285eb1b51e5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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