Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 268448 - NetBeans ignores git hooks
NetBeans ignores git hooks
Product: versioncontrol
Classification: Unclassified
Component: Git
PC Other
: P3 with 1 vote (vote)
Assigned To: Ondrej Vrabec
Depends on:
  Show dependency treegraph
Reported: 2016-10-10 12:48 UTC by ChrisLE
Modified: 2018-10-25 15:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description ChrisLE 2016-10-10 12:48:54 UTC
I use a npm package called pre-commit ( You only have to add "pre-commit": ["test"] into the package.json and if you try to commit on the console, it will automatically execute the test script which runs "npm run tests".

It works really good on the console, while git commit -m "Test with pre-commits." but not with NetBeans. NetBeans seams to ignore the hook after using the commit dialog in NetBeans. So for hooks, I can't use the git commit integration in NetBeans anymore.


Comment 1 ChrisLE 2018-10-25 15:35:09 UTC
I will close it, because it will handled now at the JIRA board: Please discuss it there for further information.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo