技能 编程开发 Git 提交与推送工作流

Git 提交与推送工作流

v20261108
git-pushing
通过脚本自动完成暂存变更、生成规范提交信息并推送到远程分支。适用于用户要求提交并推送、保存到 GitHub 或推送改动的场景。
获取技能
164 次下载
概览

Git Push Workflow

Stage all changes, create a conventional commit, and push to the remote branch.

When to Use

Automatically activate when the user:

  • Explicitly asks to push changes ("push this", "commit and push")
  • Mentions saving work to remote ("save to github", "push to remote")
  • Completes a feature and wants to share it
  • Says phrases like "let's push this up" or "commit these changes"

Workflow

ALWAYS use the script - do NOT use manual git commands:

bash skills/git-pushing/scripts/smart_commit.sh

With custom message:

bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"

Script handles: staging, conventional commit message, Claude footer, push with -u flag.

信息
分类 编程开发
名称 git-pushing
版本 v20261108
大小 1.03KB
更新时间 2026-11-09
语言