July 2018
Intermediate to advanced
354 pages
10h 57m
English
What we want to do in the first example is to check whether or not the defect information is correct. There is no need to release a commit that refers to a defect that does not exist:
$ cp .git/hooks/commit-msg.sample .git/hooks/commit-msg
#!/bin/bash echo "you are not allowed to commit" exit 1
$ echo "Frogs, scallops, and coco shell" >> fishtank.txt $ git add fishtank.txt $ git commit ...
Read now
Unlock full access