I want to work with some Android along with others and set up a repository for local use in a team. However, it seems that repo not letting me do this. And also does not clone the git repository in the android repository:
$ git clone /var/android/.repo/projects/bionic.git/
The following error message appears:
Initialized empty Git repository in /home/user/mydroid/bionic/.git/ 0 blocks Warning: Remote HEAD refers to nonexistent ref, unable to checkout.
Has anyone tried to successfully work in a git repository in Android along with others without sending the Android project itself?
I also tried to do the following: I initiated the client on a shared computer and locally on my computer as follows:
$ repo init -u git://android.git.kernel.org/platform/manifest.git
I also tried adding the remote item for a separate project (e.g. bionic) to a shared computer like this, but getting an error message:
$ git clone /initech/android/bionic fatal: cannot clone empty repository
I am also trying to do this as follows:
$ git clone /initech/android/.repo/projects/bionic.git/ Initialized empty Git repository in /home/user/mydroid/bionic/.git/ 0 blocks Warning: Remote HEAD refers to nonexistent ref, unable to checkout.
It finds the git repository, clones it, but cannot find verification links, even if there is a topic branch on the remote. What gives?
source share