gpt4 book ai didi

intellij-idea - Intellij : Before commit: run git hooks

转载 作者:行者123 更新时间:2023-12-03 15:12:31 26 4
gpt4 key购买 nike

我想在提交之前启用“运行 git hooks”,我知道这是可能的,因为我启用了一次(在一个项目中,如下所示)
但我不记得/弄清楚如何在另一个项目中做到这一点
你能帮忙吗?
谢谢
enter image description here

最佳答案

Quote from IJ forums:

The option appears there when git hooks that can be skipped -pre-commit and commit-msg - are added to the repo.

So you need to create hooks in .git/hooks to make it appear.

关于intellij-idea - Intellij : Before commit: run git hooks,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53607355/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com