July 2018
Intermediate to advanced
354 pages
10h 57m
English
We have our chapter7 directory, where we just initialized our repository. In this directory, the hooks are already available. Just look in the .git/hooks directory. We will be using the prepare-commit-msg hook. Perform the following steps:
$ ls .git/hooks/ applypatch-msg.sample pre-applypatch.sample pre-rebase.sample commit-msg.sample pre-commit.sample prepare-commit-msg.sample post-update.sample pre-push.sample update.sample
Read now
Unlock full access