I use Claude Code while working on a feature branch, and sometimes need to switch branches to check a bug elsewhere. I’m unsure how it handles files I’ve edited but haven’t committed yet.
Does anyone have a reliable workflow for switching branches without losing or accidentally carrying over uncommitted changes? I’d especially like to hear what happens when the assistant is in the middle of a task.
Can you answer this question?
Write Answer0 Answers