Git Graph Manager
An interactive Git commit graph extension for VS Code & Open VSX IDEs that lets you split, reorder, squash, move, and integrate commits with drag-and-drop, complete with in-memory conflict pre-simulation and 1-click Undo/Redo.
(English & Korean / 영어·한국어 자동 지원)
Features
- Drag & Drop Branch Splitting (
+ Overlay)
- Select contiguous or non-contiguous commits (
Click, Shift+Click, Ctrl/Cmd+Click, or sweep down the left checkbox rail) and drag them onto the translucent + Split to New Branch overlay.
- Automatically suggests clean branch names from conventional commit scopes (e.g.
fix(muilli): ... → fix/muilli) and lets you toggle Split (Move) vs Copy.
- Left-Side Merge Drag & Drop (Live Curve Overlay)
- Drag a local branch tip node on the SVG graph, a local branch badge, or a single branch-tip commit row into the left translucent Merge Branch overlay—symmetric to the right-side Split overlay.
- Previews a real-time animated Bézier merge curve that tracks your pointer, snaps onto target branch tip nodes, auto-scrolls near viewport edges, and opens the integration dialog (
Merge --no-ff, Rebase · FF, or Squash) with multi-branch selector dropdowns when tips share a commit.
- 3-Zone Intra-Branch Drag & Drop
- Drag commits onto the top/bottom 25% of another commit to Reorder them.
- Drop onto the middle 50% of another commit to Squash them together with an editable combined commit message.
- Drag commits onto any local branch badge to Move/Copy them, or drag a local branch badge onto another branch to Integrate (
Merge --no-ff, Rebase · FF, or Squash).
- Pre-Flight Conflict Simulation & IDE 3-Way Merge
- Uses
git merge-tree --write-tree in memory to preview exact conflicted files before touching any branch ref or working tree.
- Preserves upper external merge commits (
2-parent topology) automatically.
- When conflicts are present and you choose to proceed, opens a conflict banner with clickable file chips to resolve in the IDE merge editor, then Continue or Abort & Restore.
- Persisted Undo / Redo & Auto-Stash
- Atomic
git update-ref --stdin transactions with per-repository Undo/Redo history persisted across sessions.
- Automatically stashes and restores dirty working tree changes when
HEAD is modified.
- Everyday Git Workflow & Source Control Branch Manager
- Source Control (
scm) Sidebar View (Git Graph: Branches): Manage Local Branches (✓ current, ↑N ↓M), Remote Branches (1-click tracking checkout, checkout as new name, remote delete), Tags, and Stashes directly from VS Code's Source Control panel, synced automatically with the commit graph.
- Quick Branch Switcher & Remote Badge Actions: Click the current branch pill in the Graph Toolbar to search and switch local or remote branches immediately, double-click or right-click remote branch badges (
origin/...) to create and track locally (with conflict handling if the local branch exists), or use Commit/Branch/Tag context menus, Fetch/Pull/Push (--force-with-lease), Working Tree drawer, Reflog tab, Stash tab, multi-repository switcher, file tree/flat toggle, and +add/-del stats.
- File-Level Commit Splitting, Single-File Restore & File History (
--follow)
- Split Commit by Files: Break a multi-file commit (including root commits) into 2 sequential commits on the same branch—choose which files go into each commit, swap commit order, edit both commit messages, preview pre-flight warnings, preserve upper merges, and Undo/Redo in 1 click.
- Open / Restore File from Any Commit: View a file's exact contents at any commit or restore a single file directly to the working tree (unstaged, with dirty-file overwrite confirmation).
- File History Filter: Inspect commit history for any file with
--follow rename tracking from the commit detail drawer or directly from the VS Code Explorer / Editor tab context menu.
- Work Group Visualization, Collapsing & Official Commit Notes (
refs/notes/commits)
- Manage Work Groups and Commit Notes (Memos) independently via context menu or the Commit Detail Drawer (
refs/notes/commits), stored with a collision-resistant <|group=<name>|> header on the first line followed by the memo body so editing one never overwrites or leaks into the other.
- Contiguous grouped commits display a colored left rail and an interactive group badge to select all commits in the work group or collapse/expand them cleanly, while commits with memos display a clickable
📝 tooltip indicator and all notes are preserved across commit rewrites and Undo/Redo.
Requirements
- Git 2.38 or newer (required for in-memory
git merge-tree --write-tree).
Settings
gitGraphManager.language: "auto" (follows VS Code display language), "en", or "ko".
gitGraphManager.protectedBranches: Branches requiring extra confirmation before rewriting (["main", "master"] by default).
gitGraphManager.maxCommits: Initial commit batch size (300 by default, with Load More pagination).
gitGraphManager.syncNotes: Automatically sync standard git notes (refs/notes/commits) during Fetch and Push (false by default).
한국어 안내
- 커밋을 좌측 체크박스 레일로 위아래 긁어 선택하거나
Shift/Ctrl 클릭한 뒤 우측 반투명 회색 + 오버레이로 드래그하면 새 브랜치로 즉시 분리/복사할 수 있습니다.
- 반대로 왼쪽 그래프의 브랜치 끝 노드, 브랜치 배지, 또는 브랜치 끝 커밋을 왼쪽 반투명 브랜치 병합(Merge) 영역으로 드래그하면 마우스 위치에 맞춘 실시간 병합 곡선이 표시되며, 대상 브랜치 커밋에 놓아
Merge (--no-ff) · Rebase · FF · Squash 통합을 실행할 수 있습니다.
- 같은 브랜치 커밋의 상·하단 경계로 드래그하면 순서 변경(Reorder), 중앙에 겹쳐 놓으면 Squash, 다른 브랜치 배지로 드래그하면 이동/복사/통합을 실행합니다.
- 모든 작업 전 메모리 상에서 충돌 파일 여부를 미리 시뮬레이션하며, 영속 Undo/Redo와
HEAD 자동 Stash 복원을 제공합니다.
- 파일 단위 커밋 쪼개기: 커밋 상세 패널이나 우클릭 메뉴에서 하나의 커밋을 파일 체크박스 기준으로 2개의 연속 커밋으로 나누고(순서 바꾸기·두 메시지 편집·상위 머지 보존·Undo 지원), 이후 드래그로 원하는 브랜치로 분리할 수 있습니다.
- 단일 파일 복원 · 커밋 시점 보기 · 파일 히스토리 (
--follow): 커밋 상세 파일 행이나 VS Code 탐색기/에디터 탭 우클릭 메뉴(파일 히스토리 보기)로 이름 변경 이력까지 추적하며, 특정 시점 파일을 열거나 워킹 트리(unstaged)로 바로 되돌릴 수 있습니다.
- Git Notes 기반 작업 그룹 시각화 & 커밋 노트(메모) 정식 지원 (
refs/notes/commits): 작업 그룹 지정과 커밋 노트(메모) 편집을 완전히 분리해 서로의 내용을 덮어쓰지 않고 독립적으로 편집할 수 있으며, 노트 첫 줄의 전용 <|group=<이름>|> 토큰과 그 아래 메모 본문을 정규식으로 구분해 일반 메모와 섞이지 않습니다. Rebase · FF 선형 병합 시에도 작업 그룹을 자동 기록할 수 있고, 그룹 배지 클릭 일괄 선택·접기/펼치기, 클릭 가능한 📝 메모 툴팁, 커밋 재배치 시 노트 자동 이관 및 Undo/Redo를 지원합니다.
- 소스 제어(
scm) 사이드바 브랜치 관리 & 빠른 브랜치 전환: VS Code 왼쪽 소스 제어 패널의 Git Graph: 브랜치 관리 뷰에서 로컬·원격 브랜치·태그·Stash를 바로 확인하고 클릭/우클릭으로 체크아웃·생성·Push·이름 변경·삭제할 수 있습니다. 그래프 상단 툴바의 현재 브랜치 배지를 클릭하면 검색 가능한 빠른 브랜치 스위처가 열리며, 그래프 안의 원격 브랜치(origin/...) 배지도 더블클릭 또는 우클릭해 로컬 추적 브랜치로 즉시 체크아웃(동일 이름 로컬 브랜치 충돌 시 전환/이름 변경 선택)하거나 원격에서 삭제할 수 있습니다.
- 설정(
gitGraphManager.language)을 auto로 두면 VS Code 표시 언어에 맞춰 자동으로 한국어 또는 영어로 표시됩니다.
| |