I have multiple active branches that I need to work on at the same time. Clearly I can create two working directories with a distinct branch per directory. Is that the only way to do it without having to “commit” and “checkout” in order to switch from one branch to another?
Share
Yes, though you can use
git stashinstead ofcommitif you’re not ready to finalize your current work in progress.