I tried to make a git branch testbranch
, after this checkout git checkout testbranch
. Then I edited a file, for example "README".
Now I tried to switch back to "master" branch, and it always makes a merge
instead of only complaining that I have uncommitted files.
So why is this? I thought I would get an error like...
error: You have local changes to "X"; cannot switch branches.
So long and thank you for all the fish.