git hook
${REPOSITORY_ROOT}/.git/hooks $GIT_DIR/hooks
git config core.hooksPath ./git-hooks
pre-commit
- https://pre-commit.com/
- https://github.com/dotnet/format/blob/main/docs/integrations.md#pre-commitcom-hook-to-reformat
${REPOSITORY_ROOT}/.git/hooks $GIT_DIR/hooks
git config core.hooksPath ./git-hooks