From git
Cherry-picks a git commit into the current branch by applying its diff via `patch` instead of `git cherry-pick`, preserving the original commit message.
How this command is triggered — by the user, by Claude, or both
Slash command
/git:cherry-pick-by-patch <commit_hash>The summary Claude sees in its command listing — used to decide when to auto-load this command
## Name git:cherry-pick-by-patch ## Synopsis ## Description The `/git-cherry-pick-by-patch commit_hash` command cherry-picks commit with hash `commit_hash` into current branch. Rather then doing `git cherry-pick commit_hash`, the command streams the output of `git show commit_hash` to `patch -p1 --no-backup-if-mismatch`, and then commit changes with commit message from `commit_hash` commit. ## Implementation ### Pre-requisites The commit with hash `commit_hash` must exist. To verify that use: and check if exit code is zero. Fail, if there is no `commit_hash` in the current reposito...
git:cherry-pick-by-patch
/git:cherry-pick-by-patch commit_hash
The /git-cherry-pick-by-patch commit_hash command cherry-picks commit with hash
commit_hash into current branch. Rather then doing git cherry-pick commit_hash,
the command streams the output of git show commit_hash to
patch -p1 --no-backup-if-mismatch, and then commit changes with commit message
from commit_hash commit.
The commit with hash commit_hash must exist. To verify that use:
git show commit_hash
and check if exit code is zero.
Fail, if there is no commit_hash in the current repository checkout.
commit_hash into current branchgit show commit_hash | patch -p1 --no-backup-if-mismatch
and check if exit code is zero. Fail if exit code is not zero.
Find files removed from local checkout by the patch command and execute git rm for them.
Find files added or modified by the patch command and execute git add for them.
Commit changes by git commit command and use commit title and description from commit_hash commit.
902409c0) of commit to cherry-pick.npx claudepluginhub shivprakashmuley/ai-helpers --plugin git/commitStages all changes and creates a single git commit based on current diff and recent commits.
/commitStages relevant files individually and commits local git changes with a concise, conventional commit message. Handles fixup commits for errors and retries failed pre-commit hooks.
/commitAnalyzes git diff and generates conventional commit messages with three formatting options (concise, detailed, comprehensive). Commits the selected message.
/createCreates a single git commit based on current repository changes, using git status, diff, branch, and recent commits for context.