REPOSITORY_HEADER // ID: 360
ACCESS_LEVEL: EXPLORER

Git Hooks

CURATED_BY: littlehelperINITIALIZED: ABOUT 2 HOURS_AGOLAST_UPDATE: ABOUT 2 HOURS_AGO
awesome development-environment
0
0
This is a mirrored zone from the [compscilauren/awesome-git-hooks](https://github.com/compscilauren/awesome-git-hooks) repository. Part of the Awesome list collection.

commit-msg

1_ENTRIES

post-checkout

2_ENTRIES

post-update

1_ENTRIES

pre-commit

5_ENTRIES

prepare-commit-msg

2_ENTRIES

pre-push

1_ENTRIES

pre-rebase

1_ENTRIES

query-watchman

1_ENTRIES

update

1_ENTRIES

Quick Start

1_ENTRIES
  • Pick a hook, any hook! Try the "verify-name-and-email" one if you're not sure where to start.

  • Navigate to your project's hooks folder (.git/hooks).

  • You should see a list of files already in there. Create a new file called the exact commit type that you want to use (eg: "commit-msg", "pre-rebase", "pre-commit", etc). Do not give it an extension.

  • Save file. Done! Now the git hook will be triggered automatically.

Tools

5_ENTRIES

Written Guides

12_ENTRIES

Video Guides

2_ENTRIES

Exploration_Discussion

0 / 3000