返回 Skill 列表
extension
分类: 开发与工程无需 API Key

commit

{"answer":"根据当前变更创建包含上下文信息的 git 提交,然后推送分支。"}

person作者: brennerspearhubclawhub

Context

  • Current git status: !git status
  • Current git diff (staged and unstaged changes): !git diff HEAD
  • Current branch: !git branch --show-current
  • Recent commits: !git log --oneline -10

Your task

Based on the above changes, stage everything, create one commit with a contextual message, and push the current branch.

Required sequence:

  1. Stage changes.
  2. Create a single commit.
  3. Push the current branch to origin (use --set-upstream origin <branch> if needed).

Do not use interactive commands and do not output extra commentary.