Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I share code via git with others having the Android repo?
    primarykey
    data
    text
    <p>I want to work on some <a href="http://source.android.com/" rel="nofollow noreferrer">Android</a> code together with others and need to set up repository to be used locally within the team. However, it seems like <code>repo</code> doesn't let me do that. And neither does cloning a git repository in the android repo like this:</p> <pre><code>$ git clone /var/android/.repo/projects/bionic.git/ </code></pre> <p>I get the following error message:</p> <pre><code>Initialized empty Git repository in /home/user/mydroid/bionic/.git/ 0 blocks Warning: Remote HEAD refers to nonexistent ref, unable to checkout. </code></pre> <p>Has anyone tried successfully to work on a git repository in Android together with others without having to send to the Android project itself?</p> <hr> <p>I've also tried to do the following, I've initiated a client at a shared computer and locally in my computer like this:</p> <pre><code>$ repo init -u git://android.git.kernel.org/platform/manifest.git </code></pre> <p>I also tried to add a remote for a seperate project (e.g. bionic) to the shared computer like this, but get an error:</p> <pre><code>$ git clone /initech/android/bionic fatal: cannot clone empty repository </code></pre> <p>I also try to do it like this:</p> <pre><code>$ 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. </code></pre> <p>It finds a git repository, clones it, but can't find any references to checkout even if there is a topic branch in the remote. What gives?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload