This repository has been archived on 2025-11-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
lilunar/.githooks
2025-10-01 20:42:21 +08:00
..
2025-10-01 20:42:21 +08:00
2025-10-01 20:42:21 +08:00

Git Hooks

Pre-commit Hook

This pre-commit hook performs automatic checks before finalizing your commit.

Usage Instructions

To use this pre-commit hook:

  1. Make the hook executable if it isn't already:

    chmod +x .githooks/pre-commit
    
  2. Configure Git to use the hooks in the .githooks directory:

    git config core.hooksPath .githooks
    
  3. The hook will automatically run when you execute git commit