0

Is there a way to make the eclipse read the hooks created from .git/hooks directory? I tried to use the hooks on cli/shell level and it’s working as expected but on eclipse ide,it completely ignores the hooks.

4
  • 1
    On which OS? What kind of hook? Please provide a minimal reproducible example.
    – howlger
    Commented Dec 21, 2022 at 20:18
  • Hello, im using linux when I'm building the hooks (pre-commit and commit-message). But on our prod, we are using ECLIPSE on WINDOWS OS for our GIT. Commented Dec 22, 2022 at 3:16
  • #!/bin/sh echo "You are commiting" exit 1 this is on my pre-commit just to test wether the hooks is working or not. Commented Dec 22, 2022 at 3:21
  • Please improve your question instead of commenting your own question. On Windows, Cygwin is needed to run a hook bash script.
    – howlger
    Commented Dec 22, 2022 at 7:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.