Loading...
Loading...
Compare original and translation side by side
<purpose>Fast, safe commit-and-push orchestration.
git-makergit-commitgit-pushgit-makergit-commitgit-pushgit-commit| Script | Purpose |
|---|---|
| Fast preflight: pruned repo discovery, parallel repo status, file inventory |
| Push explicit repos without rediscovering; non-interactive; protected force-push guard |
| Commit staged or selected files in one repository |
| Legacy/discovered safe push fallback |
| Legacy repo discovery fallback |
| Legacy status fallback |
.gitgit rev-parse --show-toplevel.gitrepo|...git-common-dirworktree|linkedrules/speed-and-automation.mdrules/agent-parallelism.mdrules/commit-and-push-policy.mdrules/validation.md--force| Argument | Meaning |
|---|---|
| missing | start from current-session changes, verify against git state, group logically |
| include all uncommitted changes, group logically, leave no file behind |
| remove from commit arguments and pass only to push ( |
| other text | treat as a filter for repo discovery, file selection, staging, and commit message generation |
<purpose>快速、安全的提交-推送编排工具。
git-makergit-commitgit-pushgit-makergit-commitgit-pushgit-commit| 脚本 | 用途 |
|---|---|
| 快速预检:精简仓库发现、并行仓库状态检查、文件清单整理 |
| 推送指定仓库,无需重新发现;非交互式;带有强制推送保护机制 |
| 在单个仓库中提交已暂存或选定的文件 |
| 遗留/自动发现的安全推送备选方案 |
| 遗留的仓库发现备选方案 |
| 遗留的状态检查备选方案 |
.gitgit rev-parse --show-toplevel.gitrepo|...git-common-dirworktree|linkedrules/speed-and-automation.mdrules/agent-parallelism.mdrules/commit-and-push-policy.mdrules/validation.md--force| 参数 | 含义 |
|---|---|
| 缺失 | 从当前会话的更改开始,与Git状态进行验证,按逻辑分组 |
| 包含所有未提交的更改,按逻辑分组,不遗漏任何文件 |
| 从提交参数中移除,仅传递给推送操作(使用 |
| 其他文本 | 视为仓库发现、文件选择、暂存和提交消息生成的筛选条件 |
scripts/git-maker-fast.sh inspect . --jobs 4worktree|linkedrepo|...scripts/repo-discover.sh
scripts/repo-status.sh
scripts/repo-status.sh path/to/reposcripts/git-maker-fast.sh inspect . --jobs 4worktree|linkedrepo|...scripts/repo-discover.sh
scripts/repo-status.sh
scripts/repo-status.sh path/to/reposcripts/git-commit.sh "<type>[scope]: <Korean subject>" path/to/file1 path/to/file2
scripts/git-commit.sh --repo path/to/repo "<type>[scope]: <Korean subject>" path/to/file1--no-verifyrules/commit-and-push-policy.mdscripts/git-commit.sh "<type>[scope]: <韩语主题>" path/to/file1 path/to/file2
scripts/git-commit.sh --repo path/to/repo "<type>[scope]: <韩语主题>" path/to/file1--no-verifyrules/commit-and-push-policy.mdscripts/git-maker-fast.sh push /absolute/repo/path
scripts/git-maker-fast.sh push --force /absolute/repo/pathscripts/git-push.sh
scripts/git-push.sh --forcescripts/git-maker-fast.sh push /absolute/repo/path
scripts/git-maker-fast.sh push --force /absolute/repo/pathscripts/git-push.sh
scripts/git-push.sh --forcescripts/git-maker-fast.sh inspect --jobs Nrules/agent-parallelism.md| Category | Rule |
|---|---|
| Commit first | All commit groups must succeed before push. |
| Automatic push | Do not ask whether to push after successful commits. |
| Safety | Never force push to |
| Upstream | If no upstream exists, push with |
| Reuse preflight | Prefer |
| Worktrees | Linked worktrees are supported; use checkout root paths, not the common git dir. |
| Agent boundaries | Subagents may review and propose, but the main integrator owns staging, commit, and push. |
| Validation | Run |
| Category | Avoid |
|---|---|
| Push confirmation | asking "want to push?" after commits succeed |
| Partial push | pushing before all intended commit groups are done |
| Blanket staging | |
| Unsafe history | amend, rebase, reset, raw |
| Secrets | committing credentials, tokens, private keys, or unrelated user changes |
scripts/git-maker-fast.sh inspect --jobs Nrules/agent-parallelism.md| 类别 | 规则 |
|---|---|
| 先提交 | 所有提交分组必须成功后才可推送。 |
| 自动推送 | 提交成功后请勿询问是否推送。 |
| 安全规则 | 切勿强制推送到 |
| 上游分支 | 如果没有上游分支,则使用 |
| 复用预检结果 | 优先使用 |
| 工作区支持 | 支持关联工作区;使用检出根路径,而非公共Git目录。 |
| 代理边界 | 子代理可进行审核和提议,但主集成器负责暂存、提交和推送操作。 |
| 验证 | 在最终报告前运行 |
| 类别 | 禁止操作 |
|---|---|
| 推送确认 | 提交成功后询问“是否要推送?” |
| 部分推送 | 在所有预期提交分组完成前进行推送 |
| 全局暂存 | 使用 |
| 不安全的历史操作 | 在无明确请求的情况下进行修正、变基、重置、直接 |
| 机密信息 | 提交凭据、令牌、私钥或无关的用户更改 |
/git-maker/git-maker/git-maker ALL/git-maker ALL/git-maker --force--force-with-leasemainmaster/git-maker --force--force-with-leasemainmaster/git-maker/git-makercommit these changesgit-commitcommit these changesgit-commit