Branch New — Git skill for Claude Code
master 브랜치로 이동(필요 시)한 뒤, 현재 커밋들을 바탕으로 새 브랜치를 생성한다.
How to install Branch New
Installs to ~/.claude/commands/guesung-web-memo-branch-new.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/guesung/Web-Memo/HEAD/.claude/commands/branch-new.md -o ~/.claude/commands/guesung-web-memo-branch-new.md Restart Claude Code, or start a new session, for it to be picked up.
What Branch New does
name: branch-new description: master 브랜치로 이동(필요 시)한 뒤, 현재 커밋들을 바탕으로 새 브랜치를 생성한다. 인자가 주어지면 그 문구를 바탕으로 브랜치명을 만든다.
/branch-new — master 기준 새 브랜치 생성
이 파일은 전역 `~/.claude/commands/branch-new.md`를 **오버라이드**합니다. 이 레포의 베이스 브랜치는 `develop`이 아니라 `master`입니다. (참고: [docs/branch-strategy.md](../../docs/branch-strategy.md))
동작
- 현재 브랜치를 확인한다 (
git branch --show-current). - 현재 브랜치가
master가 아니라면git checkout master로 이동한다.- 작업 중인 변경사항이 있다면 사용자에게 stash/commit 여부를 먼저 확인한다.
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Git Master 24.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
OSS PR
Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t
Rebase Master
Fetch origin/master and rebase the current branch onto it
Claude Devils Advocate
Claude Code slash command that simulates a multi-round code review between an Author and Reviewer before openi
Git Rebase
Rebases onto origin/main (or origin/master) and resolves conflicts
Create Task Issue Impl
Create a GitHub issue for a Task Master task using the exact magents format.
Create Task Issue
Create a GitHub issue for a Task Master task using the clean magents format.
Related Agents
Unity Git Master
Unity-aware git operations — LFS configuration, merge strategies for binary assets, .meta file hygiene, branch
Code Reviewer Compatibility
Use this agent for backwards compatibility analysis of code changes. Focuses exclusively on breaking changes t
Engineering Git Workflow Master
Expert in Git workflows, branching strategies, and version control best practices including conventional commi