hook is not working eclipse egit client

前端 未结 1 1015
忘掉有多难
忘掉有多难 2020-12-04 04:10

I am trying to trigger a hook file at the time of commit, but this is not working in EGIT. The same hook file is being executed If I use git bash or tortoisegit. Am I missin

相关标签:
1条回答
  • 2020-12-04 04:21

    Recent versions of EGit (4.x) support commit hooks. If you are on Mars you should already have it, if not try updating from EGit update site.

    In order to run them on Windows you need unix-like bash. You can try with Git for Windows, Cygwin or Msys2. Put the folder with sh.exe on your path and EGit should be able to run your hooks.

    0 讨论(0)
提交回复
热议问题