repo sync and git clone ...

933 views
Skip to first unread message

Morris

unread,
May 22, 2009, 6:27:20 AM5/22/09
to Repo and Gerrit Discussion
Hi all,

I have one problem about repo sync. My steps as following,

Stpe1 : init repo
repo init -u git://android.git.kernel.org/platform/manifest.git
-b donut

Step 2 : repo sync

Step 3: remove build folder(project)
remove -rf build

Step 4: clone build project
git clone git://android.git.kernel.org/platform/build.git

Step 5: Using repo sync , it will occur error message as below:
error: build/: platform/build checkout refs/remotes/korg/donut

Because I can't recovery build folder successfully , I removed it and
re-clone it. I think it's I don't have korg/donut branch under build
folder, how can I get korg/donut branch.

Thanks
Morris

Jean-Baptiste Queru

unread,
May 22, 2009, 9:18:31 AM5/22/09
to repo-d...@googlegroups.com
If I remember correctly:
rm -rf build .repo/projects/build.git ; repo sync

JBQ
--
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Morris

unread,
May 26, 2009, 11:01:30 AM5/26/09
to Repo and Gerrit Discussion
Thanks , JBQ.

I don't need to git clone this project. I just only remove build
and .repo/projects/build.git, and repo sync . It works for me. Thanks
for your great help.

Morris
Reply all
Reply to author
Forward
0 new messages