TL;DR —
Git hooks are scripts that are triggered by certain actions in the software development process, like committing or pushing. By automatically pointing out issues in code, they allow reviewers not to waste time on mistakes that can be easily diagnosed by a machine. There are client-side hooks, that execute locally on the developers’ workstation, and server hooks that execute on the centralized version control system. The most useful git hooks on GitHub are pre-commit, pre-push and pre-receive hooks.
[story continues]
Written by
@jean-GG
Technical Writer on HackerNoon.
Topics and
tags
tags
git|hooks|security|github|credentials|security-of-api-keys|api|version-control
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: KCmKsN8DCw6fLk1eC3N5df5UkuizFK-TmIpF9VCipeA
