Commit Staged

Git commit commands for staged-only commits

goodluckz Updated 1 repo stars

File contents

Commit Staged

Commit only staged changes without staging new files.

Context

  • Current git status: !git status
  • Staged changes only: !git diff --cached
  • Current branch: !git branch --show-current
  • Recent commits: !git log --oneline -10

Your task

Based on the staged changes shown above, create a single git commit.

IMPORTANT: Do NOT run git add. Only commit the already-staged changes using git commit.

You have the capability to call multiple tools in a single response. Create the commit using a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.

goodluckz/claude-code-config commit 8b84a9a903

Frequently asked questions

npx get-skill add goodluckz/commit-staged