in Git by (23.9k points)
What does ‘hooks’ comprise of in Git?

1 Answer

0 votes
by (14.0k points)

This directory consists of shell scripts that are activated if you run the corresponding Git commands.  For example, git will try to execute the post-commit script after you have run a commit. 

Related questions

0 votes
0 votes
asked Nov 3, 2020 in Git by rahuljain1 (6.5k points)
0 votes
asked May 21, 2020 in Git by SakshiSharma (32.2k points)
0 votes
asked Mar 25, 2021 in DevOps Security by Robindeniel (20.8k points)
...