- copy the file
commit-msg
to.git/hooks/commit-msg
- make sure your delete the sample file
.git/hooks/commit-msg.sample
- Make commit msg executable.
chmod +x .git/hooks/commit-msg
- Edit
commit-msg
to better fit your development branch, commit regex and error message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
use Transip\Api\Library\TransipAPI; | |
use Transip\Api\Library\Entity\Domain\DnsEntry as DnsEntry; | |
use Badcow\DNS\Zone; | |
use Badcow\DNS\Rdata\Factory; | |
use Badcow\DNS\ResourceRecord; | |
use Badcow\DNS\AlignedBuilder; |