Skip to content

Commit 7bbee8d

Browse files
authored
Merge pull request #1170 from Zapados/master
- Fixed a typo in hooks.asc. Issue #1169.
2 parents fdd69aa + 6c1dead commit 7bbee8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/08-customizing-git/sections/hooks.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You may use it in conjunction with a commit template to programmatically insert
4747

4848
The `commit-msg` hook takes one parameter, which again is the path to a temporary file that contains the commit message written by the developer.
4949
If this script exits non-zero, Git aborts the commit process, so you can use it to validate your project state or commit message before allowing a commit to go through.
50-
In the last section of this chapter, We'll demonstrate using this hook to check that your commit message is conformant to a required pattern.
50+
In the last section of this chapter, we'll demonstrate using this hook to check that your commit message is conformant to a required pattern.
5151

5252
After the entire commit process is completed, the `post-commit` hook runs.
5353
It doesn't take any parameters, but you can easily get the last commit by running `git log -1 HEAD`.

0 commit comments

Comments
 (0)