跳到正文
cccskills
免费在 GitHub 公开

git-workflow

Git operations: commits, branches, PRs, and conflict resolution

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Git Workflow

Commit Messages

Format: <type>: <description>

Types: feat, fix, refactor, test, docs, style, chore

  • Description starts with lowercase verb
  • Max 72 characters for first line
  • Add body for complex changes

Branch Workflow

  1. Create feature branch from main: git checkout -b feat/description
  2. Make changes in small, focused commits
  3. Push and create PR
  4. After review, squash-merge to main

Conflict Resolution

  1. git fetch origin
  2. git rebase origin/main (or merge if team prefers)
  3. For each conflict:
    • Read both versions carefully
    • Understand the intent of each change
    • Resolve preserving both intents
    • Test after resolving
  4. git rebase --continue

Safety Rules

  • Never force-push to main/master
  • Never commit secrets, credentials, or .env files
  • Always check git diff before committing
  • Use git stash before switching branches with uncommitted changes

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Building, compiling, and resolving dependency issues across languages

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Review Python code for quality, security, and best practices

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Systematic code review for bugs, security, style, and performance

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Comprehensive data analysis skill for CSV files using Python and pandas

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Working with diverse data formats: binary, text, structured, and custom

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

Best practices for creating research diagrams with Excalidraw MCP tools

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11042026年10月19日 更新

查看 vstorm-co 的全部技能

报告此技能的问题