Skip to content

Instantly share code, notes, and snippets.

@clarkli86
Created March 10, 2015 02:10
Show Gist options
  • Select an option

  • Save clarkli86/4222ddb5f7f6a7b5ac9f to your computer and use it in GitHub Desktop.

Select an option

Save clarkli86/4222ddb5f7f6a7b5ac9f to your computer and use it in GitHub Desktop.
Install commit-msg hook for every git submodule
git submodule foreach 'scp review:hooks/commit-msg $(git rev-parse --git-dir)/hooks'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment