frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: wt a tool to help quickly manage git worktrees

1•bnchrch•1h ago
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!

Goodbye, RubyGems

https://andre.arko.net/2025/09/19/goodbye-rubygems/
1•turtleyacht•1m ago•0 comments

Permanently On-Call

https://barish.me/blog/perma-call/
1•toonewbie•2m ago•0 comments

WeUseElixir

https://weuseelixir.com/
2•taddgiles•3m ago•1 comments

Sandia team creates X-ray images of the future

https://newsreleases.sandia.gov/sandia-team-creates-x-ray-images-of-the-future/
3•geox•6m ago•1 comments

Get email notifications when somebody replies to your HN comment

https://www.hnreplies.com/
2•rob•9m ago•0 comments

Trump administration to add $100k fee for H-1B visas

https://www.cbsnews.com/news/trump-h1b-visa-bill-100000-fee/
4•antlas•9m ago•2 comments

US import dependence on EU on the rise, outpacing China

https://www.reuters.com/world/china/us-import-dependence-eu-rise-outpacing-china-study-finds-2025...
4•saubeidl•9m ago•0 comments

Is a M4 MacBook Air worth it in todays modern technological world?

2•mirg•9m ago•0 comments

What does the future hold for generative AI?

https://news.mit.edu/2025/what-does-future-hold-generative-ai-0919
4•mathattack•11m ago•0 comments

Review: Project Xanadu – The Internet That Might Have Been

https://www.astralcodexten.com/p/your-review-project-xanadu-the-internet
3•feross•12m ago•0 comments

Wan-Animate: Unified Character Animation and Replacement

https://humanaigc.github.io/wan-animate/
2•lastdong•12m ago•0 comments

Trump to add $100k fee for H-1B worker visas

https://www.cnbc.com/2025/09/19/trump-overhaul-h-1b-visa.html
6•leopoldj•13m ago•1 comments

The political mood feels like 9/11 again

https://www.natesilver.net/p/the-political-mood-feels-like-911
1•JumpCrisscross•14m ago•0 comments

Figma renderer upgraded to use WebGPU

https://twitter.com/georgiarust3/status/1968811434667819497
6•Jimroll•15m ago•1 comments

Syria's quest to build its own Silicon Valley

https://restofworld.org/2025/syria-tech-industry/
4•mooreds•17m ago•0 comments

Paper2Agent – transforming research papers into interactive AI agents

https://github.com/jmiao24/Paper2Agent
2•simonpure•20m ago•0 comments

China's BYD is sued over 'slave-like' labor conditions

https://qz.com/brazil-sues-byd-over-slave-like-labor-conditions-1851782704
9•lastdong•21m ago•0 comments

How Replit Is Protecting You from the "Shai-Hulud" Worm

https://blog.replit.com/npm-supply-chain-attack
1•amrrs•21m ago•0 comments

Time Spent on Hardening

https://third-bit.com/2025/09/18/time-spent-on-hardening/
6•mooreds•22m ago•0 comments

Some Shoulds for Strategy

https://www.rubick.com/strategy-shoulds/
3•mooreds•23m ago•0 comments

Tongyi DeepResearch: the leading open-source deep research agent

https://github.com/Alibaba-NLP/DeepResearch
3•amazonhut•25m ago•0 comments

Dissection of genomic regulation using bulk and targeted single-cell activation

https://www.sciencedirect.com/science/article/pii/S2666979X2500240X
1•PaulHoule•26m ago•0 comments

Uber Eats Testing Flying Meal Deliveries by Drone Again This Year

https://www.cnet.com/tech/services-and-software/fast-food-uber-eats-to-test-flying-meal-deliverie...
3•jimmydin7•27m ago•1 comments

I built fraud detection for WooCommerce cause invoice payments killed my margin

https://wordpress.org/plugins/search/aegilock-transaction-guardian/
1•TimTom89•27m ago•1 comments

$100K fee added to H1B applications

https://www.reuters.com/business/media-telecom/trump-mulls-adding-new-100000-fee-h-1b-visas-bloom...
81•mriguy•28m ago•28 comments

UK intelligence service MI6 launches dark web portal to recruit foreign spies

https://www.gov.uk/government/news/new-dark-web-portal-launched-to-recruit-spies-to-support-uk-se...
3•Improvement•29m ago•1 comments

Show HN: Summoner – Python SDK and Rust relay for live agent-to-agent networking

https://github.com/Summoner-Network/summoner-agents
2•rtuyeras•30m ago•0 comments

Show HN: M365 Office of Finance – AI, Third-Party Research, Quant and More

https://useallmind.ai
1•AllaTurca•30m ago•0 comments

Show HN: The Blots Programming Language

https://blots-lang.org/
3•paulrusso•30m ago•0 comments

Are Exceptions Making Your Python Code Slower?

https://medium.com/cloud-for-everybody/are-exceptions-making-your-python-code-slower-59b33f492f5b
1•ibobev•32m ago•0 comments