@peterdrake This is why I always have 3+ worktrees of the same repo, I can quickly commit a bunch of unexpected fixes and cherry-pick them on another worktree to be fired off separately, and then I can walk back the original commit and continue with the work I was supposed to be doing on that branch. Which is also why I alias cherry-pick to "yank".
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.
@peterdrake This is why I always have 3+ worktrees of the same repo, I can quickly commit a bunch of unexpected fixes and cherry-pick them on another worktree to be fired off separately, and then I can walk back the original commit and continue with the work I was supposed to be doing on that branch. Which is also why I alias cherry-pick to "yank".