From c7b5422ec77035b509a92f9a2bdadc06e677f70c Mon Sep 17 00:00:00 2001 From: MemRelay Date: Fri, 16 Oct 2026 15:41:34 +0800 Subject: [PATCH] =?UTF-8?q?create:=20=E6=AF=8F=E6=AC=A1=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=90=8E=E7=AB=8B=E5=8D=B3=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MemRelay-Operation: memory-save:global-commit-every-change-20261016 MemRelay-Resource: d251547c-df03-4c46-a008-358cdb39de7a --- global/每次修改后立即提交.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 global/每次修改后立即提交.md diff --git a/global/每次修改后立即提交.md b/global/每次修改后立即提交.md new file mode 100644 index 0000000..51a3d14 --- /dev/null +++ b/global/每次修改后立即提交.md @@ -0,0 +1,20 @@ +--- +title: 每次修改后立即提交 +type: rule +permalink: main/global/每次修改后立即提交 +stable_id: d251547c-df03-4c46-a008-358cdb39de7a +scope: global +memory_type: rule +project_id: null +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: global-commit-every-change-20261016 +created_at: '2026-10-16T07:41:31.960561+00:00' +updated_at: '2026-10-16T07:41:31.960561+00:00' +tags: +- git +- workflow +--- + +每次代码修改完成并验证后立即提交对应 Git 仓库,不要等到多轮对话结束。这是为了中间改错时能回退。存在远端时提交后推送;推送前先 fetch,远端有新提交则先 rebase 再推送,不使用 force。提交信息仍用 type: 中文一句话。不提交秘密值、data/、config.json、Temp、抓包文件。没有改动时不做空提交。 \ No newline at end of file