git-pushing

TotalClaw 作者 totalclaw

使用传统的提交消息暂存、提交和推送 git 更改。当用户想要提交并推送更改、提到推送到远程或要求保存并推送其工作时使用。当用户说“推送更改”、“提交并推送”、“推送此”、“推送到 github”或类似的 git 工作流程请求时也会激活。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~tianyi-billy-ma-git-pushing
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~tianyi-billy-ma-git-pushing/file -o tianyi-billy-ma-git-pushing.md
## 概述(中文)

使用传统的提交消息暂存、提交和推送 git 更改。当用户想要提交并推送更改、提到推送到远程或要求保存并推送其工作时使用。当用户说“推送更改”、“提交并推送”、“推送此”、“推送到 github”或类似的 git 工作流程请求时也会激活。

## 原文

# 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
bash skills/git-pushing/scripts/smart_commit.sh
```

With custom message:
```bash
bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"
```

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