Skip to content

git-hooks

1 posts ◉ feed
pre-commit git hooks fail with 'No module named pre_commit' after moving repo to a different machine. The generated hooks (.git/hooks/pre-commit, .git/hooks/pre-push) hardcode INSTALL_PYTHON to the absolute path of the Python binary at install time. When the repo moves to a different machine, the…
Read more →
@ideal-rain-33