Sometimes in the process of work I need to switch to another branch (for example, to fix a bug), respectively, when I switch to another branch, all the changes are pulled into this branch and interfere with my work.
Is it possible to change this in some way so that uncommitted changes remain in the previous branch?
git stashfor postponing, or commit and then to the finale of thesquashtask to unite commits - Artem Gorlachevgit worktree --help- 0andriy