1.2 KiB
1.2 KiB
title, type, permalink, stable_id, scope, project_id, memory_type, status, revision, restored_from_commit, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | project_id | memory_type | status | revision | restored_from_commit | created_at | updated_at | tags | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Git 提交规范:默认只提交不推送、中文提交信息 | rule | main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/git-提交规范默认只提交不推送、中文提交信息 | aa56cfd5-4cbf-4bbd-b589-03aaed17acb2 | project | d5a7f581-c442-4554-87b9-ee723b8b0258 | rule | active | 1 | 6a6a895eaf |
2026-09-23T15:09:04.959039+00:00 | 2026-09-23T15:09:04.959097+00:00 |
|
- 默认只 commit、不 push,用户明确说“推送”才推;推送 Metrix 子模块指针提交时必须同时推送对应子模块分支,否则远端解析不到 gitlink。2) 提交信息格式
<type>: <中文一句话描述>,type ∈ feat/fix/refactor/style/docs/chore/revert。3) PowerShell 下中文提交信息用git commit -F <临时消息文件>最稳(temp 下建、提交后删)。4) 仓库 autocrlf=true,git status 常有 CRLF 幽灵改动,提交前用git diff --cached --name-status核实真实改动。5) 用户偏好:提交时把当前修改区实际改动一并提交,不按“是否本轮修改”拆分;不做空提交、不提交敏感文件。