|
Lines 395-404
Again, note that `gitrepo.freebsd.org` has been canonicalized to `repo.freebsd.o
Link Here
|
| 395 |
|
395 |
|
| 396 |
* Install commit message template hook: |
396 |
* Install commit message template hook: |
| 397 |
+ |
397 |
+ |
|
|
398 |
For doc repository: |
| 399 |
+ |
| 400 |
[source,shell] |
| 401 |
.... |
| 402 |
% cd .git/hooks |
| 403 |
% ln -s ../../.hooks/prepare-commit-msg |
| 404 |
.... |
| 405 |
+ |
| 406 |
For ports repository: |
| 407 |
+ |
| 408 |
[source,shell] |
| 409 |
.... |
| 410 |
% git config --add core.hooksPath .hooks |
| 411 |
.... |
| 412 |
+ |
| 413 |
For src repository: |
| 414 |
+ |
| 398 |
[source,shell] |
415 |
[source,shell] |
| 399 |
.... |
416 |
.... |
| 400 |
% fetch https://cgit.freebsd.org/src/plain/tools/tools/git/hooks/prepare-commit-msg -o .git/hooks |
417 |
% cd .git/hooks |
| 401 |
% chmod 755 .git/hooks/prepare-commit-msg |
418 |
% ln -s ../../tools/tools/git/hooks/prepare-commit-msg |
| 402 |
.... |
419 |
.... |
| 403 |
|
420 |
|
| 404 |
[[admin-branch]] |
421 |
[[admin-branch]] |
| 405 |
- |
|
|