{"slug": "show-hn-nt-fly-around-git-worktrees-from-your-shell", "title": "Show HN: NT – fly around Git worktrees from your shell", "summary": "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.", "body_md": "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.\n\nPoint 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).\n\n*nt cd* / *nt rm* / *nt home* to get around, fzf pickers, zsh tab-completion. ~240 lines of zsh, MIT.\n\nHonestly 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\n\nComments URL: [https://news.ycombinator.com/item?id=48685730](https://news.ycombinator.com/item?id=48685730)\n\nPoints: 2\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-nt-fly-around-git-worktrees-from-your-shell", "canonical_source": "https://github.com/allisonmahmood/NT", "published_at": "2026-06-26 12:12:49+00:00", "updated_at": "2026-06-26 12:35:50.060660+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["nt", "Git", "Zsh", "MIT"], "alternates": {"html": "https://wpnews.pro/news/show-hn-nt-fly-around-git-worktrees-from-your-shell", "markdown": "https://wpnews.pro/news/show-hn-nt-fly-around-git-worktrees-from-your-shell.md", "text": "https://wpnews.pro/news/show-hn-nt-fly-around-git-worktrees-from-your-shell.txt", "jsonld": "https://wpnews.pro/news/show-hn-nt-fly-around-git-worktrees-from-your-shell.jsonld"}}