Skip to content

Instantly share code, notes, and snippets.

@sophea
Created July 21, 2022 04:07
Show Gist options
  • Save sophea/309860674574b06c6bea65aea491256b to your computer and use it in GitHub Desktop.
Save sophea/309860674574b06c6bea65aea491256b to your computer and use it in GitHub Desktop.
#!/bin/sh
# This script will config git hook path into specific folder in your project. This script will invoked by maven build.
# @author : Mak Sophea
# @version : 1.0#
#
echo "config git hooksPath to .githooks folder for commit-msg and pre-push"
git config core.hooksPath .githooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment