Run functions after cd to a directory.
- Set golang vendor to CDPATH, if
git config --get golang.cdpath
is true. - Set git user name and email.
default: true.
Enable set golang vendor to CDPATH.
default: true.
Enable set user name and email.
default: ''
If $CDHOOK_GET_MATCH_URL
is substr of origin remote url, it will auto run:
git config user.name $CDHOOK_GIT_MATCH_USER
git config user.email $CDHOOK_GIT_MATCH_EMAIL
Else, it will auto run:
git config user.name $CDHOOK_GIT_OTHER_USER
git config user.email $CDHOOK_GIT_OTHER_EMAIL
default: ''
default: ''
default: ''
default: ''