Hi there, long time user of this resource.
As part of the AI boom, I now use git worktrees heavily in my daily workflow. They are an awesome way to let you have multiple "copies" of a repo checked out at once...which definitely leads to some "oh shit!?" moments, such as:
- Oh shit, my git worktree lost my changed files! _(The reason is because you renamed your bare repo checkout directory - rename it back!)
- Oh shit, I can't create a worktree from a remote branch, git says it can't find it! (The reason is because ...)
I feel like I could create one or two entries for git worktrees gotchas, but wouldn't want to spend time on it if it's not desired?
Thanks again for this incredible resource!!
Hi there, long time user of this resource.
As part of the AI boom, I now use git worktrees heavily in my daily workflow. They are an awesome way to let you have multiple "copies" of a repo checked out at once...which definitely leads to some "oh shit!?" moments, such as:
I feel like I could create one or two entries for git worktrees gotchas, but wouldn't want to spend time on it if it's not desired?
Thanks again for this incredible resource!!