Top "Pre-commit-hook" questions

In the context of Software Configuration Management (SCM), a pre-commit hook is a command run just before a commit is performed.

Git pre-commit hook : changed/added files

I am writing a pre-commit hook. I want to run php -l against all files with .php extension. However I …

git hook pre-commit-hook pre-commit
lint-staged not running on precommit

prettier is not running on precommit. This worked with the same configuration in other projects, so I'm baffled why it's …

javascript git pre-commit-hook prettier lint-staged
pre-commit/hook: No such file or directory

I get this error when I try to commit. OS - Latest OSX Git version - git version 2.11.0 (Apple Git-81) .…

git pre-commit-hook pre-commit
How do I create a SVN Commit Message Template and Hook to Verify

I'm using Visual SVN Server and Tortoise SVN (client) for source control. I would like all developers to standardize on …

svn tortoisesvn visualsvn-server pre-commit-hook commit-message
Can a Git hook automatically add files to the commit?

I'd like to add an automatically generated file to the same commit using a pre- or post-commit hook in Git, …

git pre-commit-hook githooks pre-commit
Are there any good workarounds to the GitHub 100MB file size limit for text files?

I have a 190 MB plain text file that I want to track on github. The text file is a pronounciation …

git github large-files pre-commit-hook post-commit-hook
husky > pre-commit hook failed (add --no-verify to bypass)

Suddenly I am getting the "husky > pre-commit hook failed (add --no-verify to bypass)" error message when I give the …

angular git pre-commit-hook husky git-husky
setup pre-commit hook jshint

I recently started a project on github. I've managed to setup automatic testing after each commit using Travis. But now …

git github jshint pre-commit-hook
does github support precommithooks?

Currently we are using SVN. I would like to start using GitHub, but one absolute requirement is that we will …

github pre-commit-hook
How can I use husky to check a git commit message format?

I'm trying to enforce a git commit message policy to keep my repositories clean and tidy. I've seen the official …

git pre-commit-hook pre-commit husky