• official git hooks documentation Link
  • Hooks are programs you can place in a hooks directory to trigger actions at certain points in git’s execution. Hooks that don’t have the executable bit set are ignored.
  • git hooks are not part of the repository, that makes them a bit harder to maintain
  • Solutions:
  • Practical Uses:
  • scripts must be executable
    • on Linux for example chmod +x pre-commit
  • bypass hooks by --no-verify
  • Ressources: