跳到正文
cccskills
免费在 GitHub 公开

git

Common Git operations for branch management, syncing with main, and viewing differences. Use when you need to checkout branches, create new ones, pull latest changes, or check git status and diffs.

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

实测评分 未实测

查看安装方法

包含的文件(7)

  • SKILL.md1.1 KB
  • scripts/checkout.sh48 B
  • scripts/create-branch.sh51 B
  • scripts/diff.sh39 B
  • scripts/status.sh41 B
  • scripts/sync-main.sh60 B
  • scripts/update.sh140 B

SKILL.md(原文)

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

Git Skill

This skill provides a set of scripts for common Git workflows.

Workflows

Syncing with Main

To checkout the main branch and pull the latest changes, use:

.agents/skills/git/scripts/sync-main.sh

Updating the Current Branch

To pull the latest changes for the current branch:

.agents/skills/git/scripts/update.sh

Creating a New Branch

To create and checkout a new branch:

.agents/skills/git/scripts/create-branch.sh <branch-name>

Checking Out a Branch

To checkout an existing branch:

.agents/skills/git/scripts/checkout.sh <branch-name>

Viewing Differences

To see the changes in the current branch:

.agents/skills/git/scripts/diff.sh

Checking Status

To see the current status of the repository:

.agents/skills/git/scripts/status.sh

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

github

免费

Interact with GitHub for issue and PR management. Use for creating/viewing/listing issues and pull requests.

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

josephaw1022/SuperKind102026年4月19日 更新

查看 josephaw1022 的全部技能

报告此技能的问题