git-workflow
✓完整的 git 工作流程模式,包括 GitHub Flow 分支、具有交互式暂存的原子提交以及使用 reflog 的恢复操作。干净历史的基本模式。在定义分支策略或恢复 git 历史记录时使用。
SKILL.md
Complete git workflow patterns: GitHub Flow branching, atomic commits, and recovery operations. Essential for maintaining clean, reviewable history.
| Undo commit | git reset --soft HEAD1 | git revert HEAD | | Wrong branch | cherry-pick + reset | cherry-pick + revert | | Lost commits | git reset --hard HEAD@{N} | N/A | | Bad rebase | git rebase --abort or reflog | reflog + force-with-lease |
| Branching model | GitHub Flow | Simple single-branch workflow, main is always deployable | | Merge strategy | Rebase over merge | Keeps history clean and linear, easier to bisect | | Branch naming | issue/ - | Links work to tracking, enables automation | | Commit granularity | Atomic (one thing) | Independent revert, clear history, easier review |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/yonatangross/orchestkit --skill git-workflow- 分类
- >_效率工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 git-workflow?
完整的 git 工作流程模式,包括 GitHub Flow 分支、具有交互式暂存的原子提交以及使用 reflog 的恢复操作。干净历史的基本模式。在定义分支策略或恢复 git 历史记录时使用。 来源:yonatangross/orchestkit。
如何安装 git-workflow?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/yonatangross/orchestkit --skill git-workflow 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/yonatangross/orchestkit
详情
- 分类
- >_效率工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01