Git Clean โ Git skill for Claude Code
๐งน Git ์ ๋ฆฌ โ ํ๋ก์ ํธ์ ๋ถํ์ํ ์ถ์ ํ์ผ, ๋จธ์ง๋ ๋ธ๋์น, ์บ์๋ฅผ ์ค์บํ๊ณ ์ฌ์ฉ์ ํ์ธ ํ ์ ๋ฆฌํฉ๋๋ค.
How to install Git Clean
Installs to ~/.claude/skills/ecokg-vela-skill-git-clean/SKILL.md
mkdir -p ~/.claude/skills/ecokg-vela-skill-git-clean && curl -fsSL https://raw.githubusercontent.com/EcoKG/Vela-Skill/HEAD/commands/git-clean.md -o ~/.claude/skills/ecokg-vela-skill-git-clean/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Git Clean does
name: "vela:git-clean" description: "๐งน Git ์ ๋ฆฌ โ ํ๋ก์ ํธ์ ๋ถํ์ํ ์ถ์ ํ์ผ, ๋จธ์ง๋ ๋ธ๋์น, ์บ์๋ฅผ ์ค์บํ๊ณ ์ฌ์ฉ์ ํ์ธ ํ ์ ๋ฆฌํฉ๋๋ค."
/vela:git-clean โ Git ํ๋ก์ ํธ ์ ๋ฆฌ
์ด ์ปค๋งจ๋๊ฐ ํธ์ถ๋๋ฉด ํ์ฌ ํ๋ก์ ํธ์ git ์ํ๋ฅผ ์ค์บํ๊ณ , ์ ๋ฆฌํ ํญ๋ชฉ์ ์ฌ์ฉ์์๊ฒ ๋ณด์ฌ์ค ๋ค ์น์ธ์ ๋ฐ๊ณ ์คํํ๋ค.
**์์น: ๋ฌด์กฐ๊ฑด ์ญ์ ํ์ง ์๋๋ค. ํญ์ ๋จผ์ ๋ณด์ฌ์ฃผ๊ณ , ์ฌ์ฉ์๊ฐ ์ ํํ ๊ฒ๋ง ์คํํ๋ค.**
์คํ ์ ์ฐจ
Step 1: ์ค์บ
vela-engine clean-scan
์ด ๋ช ๋ น์ 6๊ฐ์ง ํญ๋ชฉ์ ์ค์บํ๊ณ JSON์ผ๋ก ๊ฒฐ๊ณผ๋ฅผ ๋ฐํํ๋ค:
trackedIgnored: .gitignore์ ์์ง๋ง git์ด ์ถ์ ์ค์ธ ํ์ผmergedBranches: main์ ์ด๋ฏธ ๋จธ์ง๋ vela/ ๋ธ๋์นignoredFiles: ๋์คํฌ์ ๋จ์์๋ ๋ฌด์๋ ๋น๋/์บ์ ํ์ผ
Alternatives in Git
- ไฝฟ็จ Git Worktrees โ ๅๅปบๅญค็ซ็ Git worktrees๏ผๅธฆๆๆบ่ฝ็ฎๅฝ้ๆฉไธๅฎๅ จ้ช่ฏ 115.1k โ
- Git Worktree Docs Issue: Dependency Installation โ GitHub โ Community feedback on official docs with full worktree lifecycle walkthrough 81.1k โ
- Clean Worktrees (Automatic) โ Automatically remove all worktrees for branches merged into master 25.5k โ
Full documentation available on GitHub
View Source RepositoryRelated Skills
Manage Worktrees
List, create, clean up, and manage git worktrees across all project repositories
Rewrite History
Reimplement the current branch with a clean, narrative-quality git commit history suitable for reviewer compre
Mise Clean
Sweep the project for hygiene cruft โ junk tracked in git, backup/scratch files, stale branches and orphaned w
Branch Cleanup
Clean up merged, stale, and orphaned git branches. Protects main/develop/release/ automatically. Supports --dr
Clean Gone
Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist loc
Flywheel Cleanup
Clean up orphaned git worktrees from crashed or stopped sessions.
Related Agents
Fpm Sync
___pm(prj1) โ fpm(prj7, ~/_git/all/fpm) ๋๊ธฐํ ์์ด์ ํธ. ๊ธฐ๋ณธ์ _pmโfpm ๋จ๋ฐฉํฅ ๋ณต์ฌยท์ปค๋ฐ. "fpm ๋๊ธฐํ/๋ฐ์/์ ๋ฐ์ดํธ" ์์ฒญ ์ forward, "fpm
Doc Janitor
Use this agent to clean up stale documentation artifacts before merging a branch. Finds plan files, session su
Git Workflow Specialist
Use this agent for git workflow management, branch strategies, commit hygiene, and git worktree operations. Th