Skip to content

Commit 3f18314

Browse files
committed
Merge pull request #416 from ajoslin103/patch-1
Update hooks.asc
2 parents 4dd5ac1 + b4f240d commit 3f18314

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
@@ -15,7 +15,7 @@ When you initialize a new repository with `git init`, Git populates the hooks di
1515
All the examples are written as shell scripts, with some Perl thrown in, but any properly named executable scripts will work fine – you can write them in Ruby or Python or what have you.
1616
If you want to use the bundled hook scripts, you'll have to rename them; their file names all end with `.sample`.
1717

18-
To enable a hook script, put a file in the `hooks` subdirectory of your Git directory that is named appropriately and is executable.
18+
To enable a hook script, put a file in the `hooks` subdirectory of your .git directory that is named appropriately (without any extension) and is executable.
1919
From that point forward, it should be called.
2020
We'll cover most of the major hook filenames here.
2121

0 commit comments

Comments
 (0)