Created
September 27, 2023 02:16
-
-
Save fraune/b2eb33738d0a040ab072dd5956dc684c to your computer and use it in GitHub Desktop.
Create Git pre-commit task
This file contains 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
cd ~/Programming/gitlab/mobile/android && \ | |
echo ./gradlew ktlintFormat > .git/hooks/pre-commit && \ | |
chmod +x .git/hooks/pre-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment