Lefthook Alternatives

Lefthook is described as 'Fast and powerful Git hooks manager for any type of projects' and is an app in the development category. There are 2 alternatives to Lefthook for Linux, BSD, Mac and Windows. The best Lefthook alternative is Husky Git Hooks, which is both free and Open Source.

Copy a direct link to this comment to your clipboard
Lefthook alternatives page was last updated

Alternatives list

  1. Copy a direct link to this comment to your clipboard

    Husky enhances your commits and more 🐶 woof! Automatically lint your commit messages, code, and run tests upon committing or pushing.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Linux
     
    • Husky Git Hooks is the most popular Linux alternative to Lefthook.

    • Husky Git Hooks is the most popular Open Source & free alternative to Lefthook.

    • Husky Git Hooks is Free and Open SourceLefthook is also Free and Open Source
  2. Copy a direct link to this comment to your clipboard

    Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • BSD
     
    |
    1
    Comments about pre-commit as an Alternative to Lefthook
    noamraph
    Negative
    0

    I'm moving from pre-commit to lefthook because pre-commit has very poor support for running stuff inside subdirectories - it currently requires brittle bash manipulation to make it work after changing directories. I tried to suggest a small change (allowing filenames to be passed as absolute paths instead of relative paths) and was quite rudely shut up by the author (see https://github.com/pre-commit/pre-commit/issues/3228)

    Lefthook Icon
    pre-commit icon
    • pre-commit is the most popular Windows & Mac alternative to Lefthook.

    • pre-commit is Free and Open SourceLefthook is also Free and Open Source
2 of 2 Lefthook alternatives