relequestual/git-worktree-watch — explained in plain English
Analysis updated 2026-07-19 · repo last pushed 2026-06-15
Automatically show externally created Git worktrees in VS Code's Source Control panel without reloading the window.
Manually trigger a rescan if an automatic detection misses a newly created worktree.
Customize detection behavior like rescan delay and notification preferences.
| relequestual/git-worktree-watch | 0xkinno/neuralvault | 0xmayurrr/ai-contractauditor | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | TypeScript | TypeScript | TypeScript |
| Last pushed | 2026-06-15 | — | — |
| Maintenance | Maintained | — | — |
| Setup difficulty | easy | hard | easy |
| Complexity | 2/5 | 4/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Install from the VS Code marketplace or build from source, no external dependencies or infrastructure required.
Git Worktree Refresh is a VS Code extension that solves a small but annoying problem: when you create a Git worktree outside of VS Code (say, from a terminal), VS Code doesn't automatically notice it exists. You'd have to reload the window or take extra steps to get it to show up in your Source Control panel. This extension fills that gap by watching for new worktrees and making sure they appear in VS Code without any manual intervention. For context, a Git worktree is a way to have multiple branches of the same repository checked out in different folders at the same time, without cloning the repo over and over. It's handy when you need to quickly switch contexts, like jumping onto a bug fix without stashing your current work. The catch is that VS Code's built-in Git tooling doesn't always pick up on worktrees created externally, which is a known issue tracked by the VS Code team. The extension works by keeping an eye on the hidden Git metadata files that get updated whenever a new worktree is created. When it detects a change, it tells VS Code's existing Git extension to scan for and register any worktrees it hasn't seen yet. There's also a manual command you can run if the automatic detection doesn't catch something, and you can tweak settings like how long it waits before rescanning or whether it shows notifications. This would be most useful for developers who regularly use Git worktrees as part of their workflow but prefer creating them from the command line or scripts rather than through VS Code's interface. The project is explicitly labeled as a work-in-progress toy project, so it's early days, but it addresses a real pain point that VS Code hasn't fixed on its own yet. One limitation worth noting: it only handles discovering new worktrees. If you remove a worktree, you're still relying on VS Code's built-in behavior to clean that up. It also won't modify your workspace files or bypass any of VS Code's security protections around trusted repositories.
A VS Code extension that automatically detects Git worktrees created outside of VS Code and registers them in the Source Control panel without requiring a window reload.
Mainly TypeScript. The stack also includes TypeScript, VS Code Extension API, Git.
Maintained — commit in last 6 months (last push 2026-06-15).
The explanation does not mention a license, so the permissions for using this code are unknown.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.