Codeberg logo

Git-worktree workflow

2024 Apr 20
For as long as I can remember, I've tried to find a workflow that fits in my brain. I have usually settled with a massive ~/code directory, as we do, and try to manually manage the directories for whatever I'm working on. Often times I'd have multiple related projects cloned that would have to be merged together. Over time, this ends up being a massive, unmaintainable mess where I have to periodically spend time investigating old project directories and try to remember if anything in there was important before I blew it away to prune down the sheer amount of projects that have built up.