Should I put the master
and other branch
in separate folders?
For example, I have a folder called myF/
. And I clone a project called whatever
. And whatever
is consist of two files -- a.txt, b.txt
.
cd myF
git clone whatever
Then I create a branch called feature0
.
git branch feature0
Now if I change anything to a.txt
or b.txt
, it will change both master
and feature0
.
Should I keep master
untouched? And only change files in feature0
?