create: 做完就提交并推送

MemRelay-Operation: memory-save:rule-commit-and-push-without-reminder-20261015
MemRelay-Resource: 9c2a4d5a-b859-42fb-991e-ebfa29f3f6eb
This commit is contained in:
2026-10-15 11:13:27 +08:00
parent ef8e74dfb0
commit c73f6e5499
@@ -0,0 +1,20 @@
---
title: 做完就提交并推送
type: rule
permalink: main/projects/8e229c96-a83b-4a02-ac40-10a0a9da444e/做完就提交并推送
stable_id: 9c2a4d5a-b859-42fb-991e-ebfa29f3f6eb
scope: project
memory_type: rule
project_id: 8e229c96-a83b-4a02-ac40-10a0a9da444e
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: rule-commit-and-push-without-reminder-20261015
created_at: '2026-10-15T03:13:25.102490+00:00'
updated_at: '2026-10-15T03:13:25.102490+00:00'
tags:
- git
- habit
---
功能做完并验证通过后,立刻提交并推送到 origin/main,不要等用户再提醒。提交信息用 type: 中文一句话。推送前先 fetch;远端有新提交时先 rebase 再推,只做快进,不用 --force。用户明确说先不要提交,或测试没过、改动不完整时,停下来说明原因。aidocs/、.venv/、backup/、source 数据文件不要提交。