Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>JetGitNew to Visual Studio Code? Get it now.
JetGit

JetGit

sean.zhou

| (0) | Free
JetBrains-like Git experience for VS Code: right-click Git menu, commit dialog and branch popup panel. 类 JetBrains 的 Git 右键菜单、提交窗口与分支面板。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JetGit

JetBrains-like Git experience for VS Code. If you came from IntelliJ IDEA / GoLand / PyCharm and miss the right-click Git menu, the commit dialog and the branch popup — this extension brings them back.

为 VS Code 带来类 JetBrains 的 Git 体验。 习惯了 IntelliJ IDEA / GoLand / PyCharm 的右键 Git 菜单、提交窗口和分支弹窗?装上就能找回熟悉的操作方式。

Not affiliated with or endorsed by JetBrains s.r.o. "JetBrains", "IntelliJ IDEA", "GoLand" and "PyCharm" are trademarks of their respective owners.


Features / 功能

1. Right-click Git menu / 右键 Git 菜单

Right-click any file, folder, editor or tab → Git ▸

在文件、文件夹、编辑器、标签页上右键 → Git ▸

Group Items
Commit 提交 Commit… · Add (stage) · Unstage · Add to .gitignore
View 查看 Show Diff · Compare with Branch or Tag… · Show History · Rollback…
Remote 远程 Push… · Pull… · Fetch
Merge 合并 Merge… · Rebase…
Branch 分支 Branches… · New Branch… · Git Graph
Stash 储藏 Stash Changes… · Unstash Changes…

Plus a top-level Git 分支… (Branches…) item for one-click access.

2. Commit dialog / 提交窗口 (⌘K / Ctrl+K)

  • Checkbox list of changed files — only checked files are committed 勾选要提交的文件,只提交勾选的
  • Click a file name to open its diff 点文件名查看差异
  • Recent commit messages · Amend · Commit and Push 最近提交信息、修改上一次提交、提交并推送
  • ⌘↩ commit, ⌘⌥↩ commit & push, Esc close
  • Amend + push asks before --force-with-lease; first push of a new branch sets upstream automatically

3. Branch panel / 分支面板

  • Branches grouped as Recent / Local / Remote (collapsible, remembered) 按「最近 / 本地 / 远程」分组,可折叠
  • Hover a branch → action menu with real branch names, just like the JetBrains popup: 悬停分支展开操作菜单: Checkout · New Branch from 'X'… · Checkout and Rebase onto current · Compare with current · Show Diff with Working Tree · Rebase current onto 'X' · Merge 'X' into current · New Worktree… · Pull into current using Rebase / Merge · Delete
  • Double-click to checkout; panel closes automatically after switching branch 双击签出,切换分支后自动关闭
  • Keyboard: ↑↓ select · →/Enter open actions · ← back · Esc close
  • Shows ahead/behind counts 显示待推送 / 可拉取提交数

4. Feedback for every action / 每个操作都有完成提示

e.g. ✓ Pushed 3 commits, ✓ Merged 'master' into 'feature/x', Already up to date.


Recommended keybinding / 推荐快捷键

JetGit binds nothing by default. To open the commit dialog with ⌘K like JetBrains, add to keybindings.json:

默认不占用快捷键。想用 ⌘K 打开提交窗口,在 keybindings.json 中加入:

{ "key": "cmd+k", "command": "golandGit.commitAll", "when": "gitOpenRepositoryCount != 0" }

Requirements / 依赖

  • VS Code ≥ 1.80 with the built-in Git extension enabled
  • Optional: Git Graph for the Git Graph / folder history entries

Known limitations / 已知限制

  • VS Code extensions cannot create native floating dialogs or cascading context menus with dynamic items, so the commit dialog and branch panel open as editor tabs. VS Code 插件无法创建系统级弹窗或动态级联菜单,提交窗口与分支面板以标签页形式打开。

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft