question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
asottilecommented, May 3, 2016
1reaction
asottilecommented, May 4, 2016

local hooks are now documented here: http://pre-commit.com/#repository-local-hooks

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found