This document describes how to enable verification of committers and commit messages in a code repository.
Open Project
1. Log in to the CODING Console and click the team domain name to go to CODING.
2. Click in the upper-right corner to open the project list page and click a project icon to open the corresponding project. Project admins can enable verification of Git committers and authors in Settings > Push Settings.
Project admins can also set rules for Git commit messages. Commits that do not conform to the rules will be rejected. For example, the rule ^fix #[0-9]+
requires that the commit message must include the associated project issue. ^fix #630
indicates that the commit is associated to issue 630 in the project.
Note:
To learn how to automatically associate issues in commit messages, see Committing Files.
Was this page helpful?