讨论

Git Commit Push and PR Automation

来自 Wikiprompt,自由的提示词百科全书

Doğu Deniz Uğur

2026年3月7日

Git Commit Push and PR Automation A system prompt that instructs an AI to review git changes, create conventional commits, push them, and open a pull request to main.

提示词内容收藏

此提示词为英文,适用于所有 AI 模型。

--- allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*), Bash(git push:*), Bash(gh pr create:*) description: Commit and push everything then open a PR request to main --- ## Context - Current git status: !`git status` - Current git diff (staged and unstaged changes): !`git diff ...

登录以查看完整提示词

登录以继续

用法

此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:coding| prompts.chat| git| commit

讨论