My project has 2 branches:
* master
* A
I created branch B
from branch A
by git checkout -b B A
. After that, I made some changes in B
, however those changes also appear in branch A
.
Is that a normal behavior of Git? What should I do if I want changes in B
don't appear in A
?
For more detail, I didn't commit the changes in B
; and checkout to A
show the changes.