Skip to main content
Git switch branches with modified files

I have to switch between different branches to develop, so that there is a problem that some times I don’t want to use git add to track modified too early and I have to switch another branch.

So the error comes out: another branch would have the same modified files.

E.g.: Currently I am at branch A, with modified files that are not added yet. I have to switch to branch B.


B4nightLess than 1 minuteUseful SkillsGit switch branches with modified files.md