Rebase On Main
Description
Rebase the current branch on `origin/main` and resolve any conflicts. ## Steps 1. **Check for uncommitted changes** — Ensure the working tree is clean: - Run `git status` to check for uncommitted changes - If there are uncommitted changes, warn the user and stop — do not stash or discard work 2. **Fetch and rebase** — Update the branch: - Run `git fetch origin main` - Run `git rebase origin/main` - If the rebase completes cleanly, skip to step 4 3. **Resolve conflicts** — For
Installation
Installs to ~/.claude/commands/utensils-claudette-rebase-on-main.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/utensils/Claudette/HEAD/.claude/commands/rebase-on-main.md -o ~/.claude/commands/utensils-claudette-rebase-on-main.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git mcp-server-github
GitHub API integration for repos, issues, PRs.
Git