“配置文件的签名变了!”后运行“”过量使用--sign”

问题描述 投票:2回答:1

安装过量使用和签订.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.
rubygems ruby-overcommit
1个回答
5
投票

这个问题有不同的版本overcommit宝石。删除是从被用来创建.overcommit.yml文件中的一个不同的版本。安装正确的版本并重新安装挂钩。

 $ gem uninstall overcommit
 $ gem install overcommit -v 0.46.0 
 $ overcommit --install
 $ overcommit --sign
© www.soinside.com 2019 - 2024. All rights reserved.