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.
Less than 1 minute