support hooks located in repository
See original GitHub issue- repo: ./pre-commit-hooks
sha: ''
hooks:
- id: vault
Updating pre-commit-hooks...An unexpected error has occurred: CalledProcessError: Command: ('/usr/local/bin/git', 'clone', '--no-checkout', 'pre-commit-hooks', '/Users/gretel/.pre-commit/repoiXzY0j')
Return code: 128
Expected return code: 0
Output: (none)
Errors:
fatal: repository 'pre-commit-hooks' does not exist
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Git Hooks - Git SCM
The hooks are all stored in the hooks subdirectory of the Git directory. In most projects, that's .git/hooks . When you initialize a...
Read more >Using repository hooks | Bitbucket Data Center and Server 8.6
Bitbucket supports two types of hooks, pre-receive and post-receive hooks. Hooks are installed by system administrators and can be enabled for all ...
Read more >Git hooks: How to automate actions in your Git repo - Red Hat
Git hooks are shell scripts found in the hidden .git/hooks directory of a Git repository. These scripts trigger actions in response to ...
Read more >repo hooks - Google Git
Repo provides a mechanism to hook specific stages of the runtime with custom python modules. All the hooks live in one git project...
Read more >Can Git hook scripts be managed along with the repository?
Most of the modern programming languages, or rather their build tools, support plugins to manage Git hooks. That means all you need to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You’ll need to use full paths: http://pre-commit.com/#developing-hooks-interactively
local hooks are now documented here: http://pre-commit.com/#repository-local-hooks