钩子不工作eclipse egit客户端 [英] hook is not working eclipse egit client
问题描述
我在提交时尝试触发一个钩子文件,但是这在EGIT中不起作用。正在执行相同的钩子文件如果我使用git bash或tortoisegit。我在安装中遗漏了什么吗?
如何解决这个问题。我感谢您的帮助。有关您的信息,以下是我的eclipse和eclipse git插件的细节[EGIT]
Eclipse IDE for Java Developers
/ pre>
版本:火星发布(4.5.0)
构建ID:20150621-1200
和Eclipse EGit版本:4.0.0.201506090130-r
解决方案最近版本的EGit(4.x)支持提交钩子。如果你在火星上,你应该已经有了,如果没有尝试从EGit更新站点更新。
为了在Windows上运行它们,你需要像unix一样的bash。您可以尝试使用 Git for Windows , Cygwin 或 Msys2 。将您的路径上的
sh.exe
的文件夹放在您的路径上,并且EGit应该能够运行您的挂钩。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 missing anything in the installation? How to fix this. I appreciate your help. For your information, below are the details of my eclipse and eclipse git plugin[EGIT]
Eclipse IDE for Java Developers Version: Mars Release (4.5.0) Build id: 20150621-1200 and Eclipse EGit version:4.0.0.201506090130-r
解决方案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.这篇关于钩子不工作eclipse egit客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!