ain3sh/.agents/git-advanced
Claude Code and agent skill by ain3sh/.agents
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when rebasing, cherry-picking, bisecting, recovering commits via reflog, splitting or squashing commits, or cleaning up history before a PR.
Install
npx vskill@latest install ain3sh/.agents/git-advancedSKILL.md
The same SKILL.md was published earlier as ain3sh/.agents/git-advanced.
Git Advanced Workflows
Interactive Rebase
The primary tool for history editing.
Operations:
| Op | Effect | |
|---|---|---|
pick | Keep commit as-is | |
reword | Change commit message | |
edit | Amend commit content | |
squash | Combine with previous commit (keep message) | |
fixup | Combine with previous commit (discard message) | |
drop | Remove commit |
Autosquash
Automatically squash fixup commits during rebase:
Split a Commit
Cherry-Picking
Apply specific commits across branches:
Partial Cherry-Pick (specific files only)
Git Bisect
Binary search to find the commit that introduced a bug:
Automated Bisect
Reflog (Recovery Safety Net)
Tracks all ref movements for ~90 days, including deleted commits:
Rebase vs Merge
| Use Rebase | Use Merge | |
|---|---|---|
| Cleaning up local commits before push | Integrating completed features into main | |
| Keeping feature branch current with main | Preserving collaboration history | |
| Creating linear history for review | Public branches used by others |
Recovery Commands
Best Practices
- Always `--force-with-lease` over
--force-- prevents overwriting others' work. - Rebase only local commits -- never rebase commits already pushed and shared.
- Backup branch before risky operations --
git branch backup-branchbefore complex rebases. - Atomic commits -- each commit is a single logical change.
- Test after history rewrite -- ensure rebase didn't break anything before force pushing.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/git-advanced/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ain3sh/.agents/git-advanced)