32
How I Use Git Worktrees - Alex Kladov
(matklad.github.io)
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
Why would you do this to yourself?
The benefit is that you have everything collected in one place. You can jump between any of your local branches, and there’s no confusion about which state the branches are in.
If you have multiple clones, then there’s the risk that you’ve forgotten to sync main in all your different clones.
Then there’s also the problem that all the generated binaries will be out of sync. You still have 5 copies of each binary.