From 6c1deada1fd30826cf4375803ac62781b1fd92a6 Mon Sep 17 00:00:00 2001 From: Adam Laflamme Date: Thu, 31 Jan 2019 13:15:17 -0500 Subject: [PATCH] - Fixed a typo in hooks.asc. Issue #1169. --- book/08-customizing-git/sections/hooks.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/08-customizing-git/sections/hooks.asc b/book/08-customizing-git/sections/hooks.asc index 6e7d8251a..fa80387aa 100644 --- a/book/08-customizing-git/sections/hooks.asc +++ b/book/08-customizing-git/sections/hooks.asc @@ -47,7 +47,7 @@ You may use it in conjunction with a commit template to programmatically insert 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. 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. -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. +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. After the entire commit process is completed, the `post-commit` hook runs. It doesn't take any parameters, but you can easily get the last commit by running `git log -1 HEAD`.