wt

wt a tool to help quickly manage git worktrees

Hacker News

wt a tool to help quickly manage git worktrees

Hey all, I created a small git worktree utility some might find useful when creating worktrees so you can work on a few tasks in your code base in parallel https://github.com/bnchrch/wt ------ Why did I create this? ------ Essentially raw worktrees are rough 1. You need to decide where in your file system to create them 2. Theres no connection back to the original local repo 3. Theres no way to copy or symlink untracked files (.env, build artifacts etc...) I looked at existing worktree helpers and could not find anything that both 1. Let me create a branch + worktree and cd to the worktree in one command 2. Prune unused worktrees 3. Set what untracked files I wanted to "sync" and how So I created my own ------ What does it do? ------ 1. Introduces a `.worktree` file you can add to your project that defines: 1. Where to create worktrees 2. What files/folders to copy/symlink (e.g. `.env`) 3. What commands to run when you create a new worktree (`npm install`) 2. Create a branch + worktree + cd to the folder in one command `wt switch <branch-name>` 3. Return to the root repo in one command `wt root` 4. Prune wt related to branches that no longer exist `wt prune --all` ---- Anyway, hope someone finds this useful, happy coding!

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: new, tasks, coding · Missing: mac, agents, macos
82%82% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
TrustMRRFits verified-revenue profile · Strong signals: way, para · Missing: mobile apps, ios, personal
52%52% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Strong signals: created, para · Missing: supports, reddit linkedin, podcasting
49%49% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
44%44% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
32%32% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
13%13% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: introduce · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ma
Manage Your Git Identities59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Manage Your Git Identities

Hacker News1
Gi
Git su, manage your Git identities55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Git su, manage your Git identities

Hacker News2
Go
Gomp – a tool for comparing Git branches49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gomp – a tool for comparing Git branches

Hacker News92
Ma
Mamegrep – TUI tool for `$ git grep`64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mamegrep – TUI tool for `$ git grep`

Hacker News2
Gi
Giton, an AI augmentation tool for Git43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Giton, an AI augmentation tool for Git

Hacker News1
I
I built a tool to help you search Digi-Key quickly34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built a tool to help you search Digi-Key quickly

Hacker News6
Gi
Git addon to quickly checkout a branch39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Git addon to quickly checkout a branch

Hacker News6
Ma
Manage your dotfiles in Git with dotfiles-manager55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Manage your dotfiles in Git with dotfiles-manager

Hacker News2
Gi
Git governance – A tool to manage multiple Git repositories36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Git governance – A tool to manage multiple Git repositories

Hacker News10
To
Tool to manage your dotfiles41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tool to manage your dotfiles

Hacker News6