bahmutov / bahmutov/pre-git

Commit fails with error:

Open
#19 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
170
Forks
22
PR merge metrics
No merged PRs in 30d

Description

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/hp/0cj2csyn2fj6gmlw_t3skynr0000gn/T/SourceTreeTemp.wiV3x9
executing task "grunt"

pre-commit: You've failed to pass all the hooks.
pre-commit:
pre-commit: The "grunt" script failed.
pre-commit:
pre-commit: You can skip the git pre-commit hook by running:
pre-commit:
pre-commit: git commit -n (--no-verify)
pre-commit:
pre-commit: But this is not adviced as your tests are obviously failing.

Completed with errors, see above

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the commit through SourceTree and inspect the pre-commit hook and the grunt task it invokes. The issue is done when the cause of the failed hook is identified and a normal commit completes without requiring --no-verify.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, javascript
Domain
devtools, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.