/git $ARGUMENTS
Git workflow commands.
Usage
code
/git
branch [issue] Create branch from GitHub issue
commit Smart commit with auto-grouping
merge [branch] Merge branch into current (default: main)
rebase [branch] Rebase current branch onto another (default: main)
squash Squash all branch commits into clean commit(s)
-y, --yes Skip confirmations
Rules
See rules.md — applies to ALL git operations.
Instructions
Read the command-specific instruction file and follow it exactly:
- •branch → Read
.claude/skills/git/branch.mdand follow all steps - •commit → Read
.claude/skills/git/commit.mdand follow all steps - •merge → Read
.claude/skills/git/merge.mdand follow all steps - •rebase → Read
.claude/skills/git/rebase.mdand follow all steps - •squash → Read
.claude/skills/git/squash.mdand follow all steps
If no command is provided, list the available commands and ask the user which one to run.