Grind 2x as hard with Git Worktrees
I have a chip on my shoulder. I get real antsy when I’m working and I’m stuck waiting moments for my incremental build—or, god forbid, I start a new ticket and need to run the full suite of build scripts.
There’s a way to run your brain cells in parallel with your computer cores: while the CPU is running up clock cycles to build your project, you can perform mental clock cycles and simultaneously work on another branch. In today’s Quick Hack, I’ll demonstrate how to utilise Git worktrees to eliminate this dead time while you’re waiting for your project to compile.
Continue reading this post for free in the Substack app |