gpt4 book ai didi

rubygems - "Signature of configuration file has changed!"运行后 '' overcommit --sign"

转载 作者:行者123 更新时间:2023-12-04 12:12:44 24 4
gpt4 key购买 nike

安装 overcommit 并签署 .overcommit.yml 后本地文件我仍然收到“签名”要求。

$ overcommit --sign
Updating signature for configuration file...
$ git commit
Unable to load configuration from '/Users/sergii/w/profinda_saas/.overcommit.yml': Signature of configuration file has changed!
Run `overcommit --sign` once you've verified the configuration changes.

最佳答案

问题出在 overcommit 的不同版本中 gem 。
删除与用于创建 .overcommit.yml 的版本不同的版本文件。安装正确的版本并重新安装钩子(Hook)。

 $ gem uninstall overcommit
$ gem install overcommit -v 0.46.0
$ overcommit --install
$ overcommit --sign

关于rubygems - "Signature of configuration file has changed!"运行后 '' overcommit --sign",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41261872/

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