技能 编程开发 自动化 Git 推送流程

自动化 Git 推送流程

v20260317
git-pushing
通过 git-pushing 脚本自动暂存改动、生成规范提交信息并推送远程,统一使用脚本操作而非手动命令,适合完成功能后立即同步仓库的场景。
获取技能
224 次下载
概览

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.

信息
Category 编程开发
Name git-pushing
版本 v20260317
大小 1013B
更新时间 2026-03-21
语言