git404hub

what is git-worktree-watch fr?

relequestual/git-worktree-watch — explained in plain English

Analysis updated 2026-07-19 · repo last pushed 2026-06-15

1TypeScriptAudience · developerComplexity · 2/5MaintainedSetup · easy

tl;dr

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.

vibe map

mindmap
  root((repo))
    What it does
      Detects new Git worktrees
      No manual reload needed
      Manual rescan command
    How it works
      Watches Git metadata files
      Triggers VS Code Git scan
      Configurable wait settings
    Use cases
      CLI worktree users
      Scripted worktree creation
      Context switching workflows
    Limitations
      Only adds new worktrees
      No worktree removal handling
    Audience
      Developers using worktrees
      Early stage project
      VS Code users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Automatically show externally created Git worktrees in VS Code's Source Control panel without reloading the window.

VIBE 2

Manually trigger a rescan if an automatic detection misses a newly created worktree.

VIBE 3

Customize detection behavior like rescan delay and notification preferences.

what's the stack?

TypeScriptVS Code Extension APIGit

how it stacks up fr

relequestual/git-worktree-watch0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Last pushed2026-06-15
MaintenanceMaintained
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Install from the VS Code marketplace or build from source, no external dependencies or infrastructure required.

The explanation does not mention a license, so the permissions for using this code are unknown.

in plain english

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.

prompts (copy fr)

prompt 1
Install the git-worktree-watch VS Code extension and create a Git worktree from my terminal to verify it appears in Source Control without reloading.
prompt 2
Configure git-worktree-watch settings to adjust the rescan delay and disable notifications, then test by creating a worktree from the command line.
prompt 3
Add git-worktree-watch to my VS Code setup and use the manual rescan command after creating a worktree with a script to confirm it gets detected.

Frequently asked questions

what is git-worktree-watch fr?

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.

What language is git-worktree-watch written in?

Mainly TypeScript. The stack also includes TypeScript, VS Code Extension API, Git.

Is git-worktree-watch actively maintained?

Maintained — commit in last 6 months (last push 2026-06-15).

What license does git-worktree-watch use?

The explanation does not mention a license, so the permissions for using this code are unknown.

How hard is git-worktree-watch to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is git-worktree-watch for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.