Jason has been a professional developer for 11 years, using a variety of programming languages before falling in love with elixir in 2016. He enjoys writing developer tooling and has contributed to ElixirLS along with several other dev tooling projects. He enjoys tinkering with hardware and pushing Elixir to its limits. Oh, and he also enjoys a good whiskey.
What if every branch had its own server, its own database, and its own HTTPS URL — ready the moment you created it? That’s what git worktrees make possible, but git worktree add is not enough, you also need to build a workflow around it.
In this talk, I’ll show how I built a workflow that makes worktrees practical for Phoenix apps: copying _build artifacts with copy-on-write, cloning the Postgres database, automatically assigning ports so your servers never collide, and giving every branch its own URL — like https://my-feature.local (look Ma, no port!). I’ll also show how I used LLMs to build the script itself, and how you can prompt your way to a version that fits your personal workflow.
Key takeaways:
Target audience: