lefthook icon indicating copy to clipboard operation
lefthook copied to clipboard

Fast and powerful Git hooks manager for any type of projects.

Results 148 lefthook issues
Sort by recently updated
recently updated
newest added

I mentioned this briefly over on https://github.com/Arkweid/lefthook/issues/102#issuecomment-659499952, but due to the auto-install setup in lefthook, when rebasing a set of commits, if lefthook is installed but the particular commit you're...

question

This tool is awesome. Could you add watch mode to the run command? that simply watches any file changes on the current folder and reruns on any change .

enhancement

Are there any way to control the sequence of scripts and commands? For example to execute scripts after commands? Or to execute the first command, after that execute the first...

I love how fast `lefthook` is, but a problem I'm running into is that my hooks will sometimes fail locally even though they should pass, or pass locally but fail...

Running a script like ``` react-templates: glob: '*.{jsx,tsx}' run: > npx eslint {staged_files} --fix && npx prettier {staged_files} --write && git add {staged_files} ``` when there are lots of files...

bug
Windows

When I try to add [commitizen](https://github.com/commitizen/cz-cli) to `prepare-commit-msg` hook I encounter following problem: Commitizen is interactive program awaiting input from user into stdin and Lefthook uses `pty` which doesn't support...

I was working on adding Hashicorp Vault policy auto-formatting, but they allow only a single file to be passed. It would be nice of you can handle such commands and...

enhancement
feature request

First of all thank you very much for the nice tool, in my opinion `leftook` is the best git-hooks manager out there today. I develop mostly in Python, and would...

enhancement

Thank you for all the effort you have put into `lefthook`. It is a great tool - I'm growing to love it. This would be useful: ```yaml scripts: "lefthook_terraform_format.sh": tags:...

The possibility to run a git-hook only on [staged files](https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md#select-specific-file-groups) is convenient. However sometimes we need to explicitly run a git-hook on all files (for instance if the hook configuration...

enhancement