fix: Update packages and fix local dev (#26907)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. --> - [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md). - [x] My pull request has a descriptive title (not a vague title like `Update index.md`) - [x] My pull request targets the `master` branch of freeCodeCamp.
This commit is contained in:
committed by
mrugesh mohapatra
parent
153e1c9f38
commit
7da04a348b
14
mock-guide/english/git/git-hooks/index.md
Normal file
14
mock-guide/english/git/git-hooks/index.md
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Git Hooks
|
||||
---
|
||||
|
||||
## Git Hooks
|
||||
Git Hooks are scripts located in the `.git/hooks/` directory of a git repository. These scripts run after being triggered by different stages in the version control process.
|
||||
|
||||
### Samples
|
||||
In this directory are a handful of sample scripts, such as `pre-commit.sample`. This particular sample runs every time a user runs `git commit`. If the hook script exits with a status other than 0, then the commit stops.
|
||||
|
||||
### Documentation
|
||||
- [Documentation for Git Hooks](https://git-scm.com/docs/githooks)
|
||||
- [Atlassian Tutorial on Git Hooks](https://www.atlassian.com/git/tutorials/git-hooks)
|
||||
- [Git Hooks Guide](http://githooks.com/)
|
Reference in New Issue
Block a user