menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

Mastering ...
source image

Dev

1M

read

36

img
dot

Image Credit: Dev

Mastering Git Hooks: A Cheat Sheet for CI/CD Ninjas

  • Git hooks are scripts that are triggered by Git events.
  • pre-commit hook can be used to catch issues before committing.
  • commit-msg hook can be used to enforce commit message standards.
  • post-commit hook can be used to run local tests or notifications.
  • pre-push hook can be used to validate code before pushing to a remote repository.

Read Full Article

like

2 Likes

For uninterrupted reading, download the app