安装过量.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.
Run Code Online (Sandbox Code Playgroud) overcommit我在使用和Rails 5.0.2应用程序时遇到了一个奇怪的问题ruby 2.4.0:
$ overcommit --run\nRunning pre-commit hooks\nCheck if database schema is up to date..........[RailsSchemaUpToDate] OK\nCheck YAML syntax........................................[YamlSyntax] OK\nCheck Gemfile dependencies..............................[BundleCheck] OK\nCheck for vulnerable versions of gems...................[BundleAudit] OK\nAnalyze with RuboCop........................................[RuboCop] OK\nAnalyze with haml-lint.....................................[HamlLint] OK\n\n\xe2\x9c\x93 All pre-commit hooks passed\n$ git ci -m "Overcommit and Linters added"\nRunning pre-commit hooks\nCheck if database schema is up to date..........[RailsSchemaUpToDate] FAILED\nIt looks like you\'re adding a migration, but did not update the schema file\nCheck YAML syntax........................................[YamlSyntax] OK\nCheck Gemfile dependencies..............................[BundleCheck] OK\nCheck …Run Code Online (Sandbox Code Playgroud)