git clone git@github.com:Tinder/Commit-Message-Validation-Hook.git cd Commit-Message-Validation-Hook make install Repository Setup Each repository must be individually configured to use the commit-msg hook. Change Directory Replace <repositoryPath> in the command with a path to a locally cloned ...
$ npm install validate-commit-message Usage You can activate the hook from the command line of your project. $ node ./node_modules/.bin/validate-commit-msg A more consistent way is to add a script in your package.json. "scripts": { "init": "validate-commit-msg" } Then execute $ n...
1.Checkout git checkout --orphan latest_branch 2.add all the files git add . 3.Commit the ...
const request = context.switchToHttp().getRequest(); const { hook_name } = request.body as GiteePullRequestHooksDTO; const required = 'merge_request_hooks'; if (hook_name !== required) { throw new BadRequestException({ message: '该钩子不符合条件', hook_name, required, }); } return ...
{{ message }} Irrelon / ForerunnerDB Public Notifications You must be signed in to change notification settings Fork 72 Star 720 A JavaScript database with mongo-like query language, data-binding support, runs in browsers and hybrid mobile apps as a client-side DB or on the server via...
{ "url": "https://github.example.com/api/v3/admin/pre-receive-environments/1/downloads/latest", "state": "not_started", "downloaded_at": "2016-05-26T07:42:53-05:00", "message": null } }, { "id": 2, "name": "DevTools Hook Env", "image_url": "https://my_file_server/...
This glossary introduces common Git and GitHub terminology. In this article Privacy policy All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request. Learn how to contribute
$ gptcommit -h Usage: gptcommit [OPTIONS] <COMMAND> Commands: install Install the git hook uninstall Uninstall the git hook config Read and modify settings prepare-commit-msg Run on the prepare-commit-msg hook help Print this message or the help of the given subcommand(s) Options: -v, -...
规范git commit message的格式,达到以下两点要求: commit与jira自动对应,即需求与代码一致性 强制commit type只允许为七种类型,进一步规范commit message 另外,还提供了git push邮件通知的功能,方便code reviewer监督,该功能需主动配置开启 使用方法 git hook依赖于husky模块,工程内如果已经引过husky并利用(或不需要)lint...
12 + - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook 13 + rev: v9.20.0 14 + hooks: 15 + - id: commitlint 16 + stages: [commit-msg] 17 + additional_dependencies: ['@commitlint/config-conventional'] CONTRIBUTING.rst +1 Original file line numberDiff li...