I am struggling to understand repo
and git
. I have created a branched manifest.xml
file that specifies <default revision="project/master"… />
Everything works fine but when the repo sync
is complete there is no indication that each project is on that branch. git branch
in each project says you aren't on a branch. However if you run gitk
, you can see that you are at the correct revision.
repo checkout project/master
says that none of the projects have this branch defined. The output of git checkout project/master
in a project directory looks like a new branch was created.
If I git clone project; git checkout project/master
, then everything is as expected.
Questions:
What is different about what
repo
is doing?I am trying to define a "new" master branch for our project. Am I really on that branch even though
repo
andgit
do not indicate that?
Please help me to understand so that I can put my mind at ease…
TIA