cd /news/developer-tools/show-hn-nt-fly-around-git-worktrees-… · home topics developer-tools article
[ARTICLE · art-40763] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Show HN: NT – fly around Git worktrees from your shell

A developer released nt (navigate tree), a Zsh tool that simplifies managing Git worktrees by allowing users to create, switch, or jump to worktrees with a single command. The tool automatically fast-forwards branches from origin and includes features like fzf pickers and tab completion. It is open-source under MIT license.

read1 min views1 publishedJun 26, 2026

Got tired of fighting git worktrees, so I made nt (navigate tree). One command: nt fix-login spins up (or jumps to) a worktree at .worktrees/fix-login, cd's you in, done.

Point it at a branch that already exists (local or on origin) and it checks that branch out in a fresh worktree, fast-forwarded to origin, so you're never stuck on some stale local copy (it won't nuke un-pushed commits though).

nt cd / nt rm / nt home to get around, fzf pickers, zsh tab-completion. ~240 lines of zsh, MIT.

Honestly you should just have your agent build this for you, takes 10 min. But if you're too scared to let it touch your dotfiles, here you go

Comments URL: [https://news.ycombinator.com/item?id=48685730](https://news.ycombinator.com/item?id=48685730)

Points: 2

── more in #developer-tools 4 stories · sorted by recency
── more on @nt 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-nt-fly-aroun…] indexed:0 read:1min 2026-06-26 ·