Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 825 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 825 Bytes

kgit

My git configuration and tools.

How to set up my environment

Global configuration

Install hooks:

git config --global core.hooksPath PATH_TO_HOOKS_DIR

Repository configuration

Set local config options:

  • user.name
  • user.email
  • commit.gpgSign
  • merge.verifySignatures

Hooks

To install hooks call following command:

git config --global core.hooksPath PATH_TO_HOOKS_DIR

Available hooks

  • pre-commit hook
    • check if user.name, user.email, user.signingkey, commit.gpgSign and merge.verifySignatures are configured

Links