Stats
Actions
Tags
From git-command
Merge current branch into main with --no-ff, preserving all commits for traceability
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-command:mergeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Current branch: !`git branch --show-current`
git branch --show-currentgit log --oneline main..HEAD 2>/dev/nullgit diff main...HEAD --stat 2>/dev/nullgit status --shortMerge the current branch into main using --no-ff, preserving all individual commits for traceability.
git rebase origin/main (see git-sync skill). If the user declines, proceed anyway.git checkout main && git pull origin maingit merge --no-ff <branch>
git log --oneline --graph -10--no-ff to create a merge commit node, even if fast-forward is possible--squash — individual commits must be preserved for traceability$ARGUMENTS
npx claudepluginhub kosmoche/git-commandGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.