I've setup a new Repo for Android source code, and after executing the repo sync, there are no files in the repo directory. Did I miss something?
I used:
repo init -u git://android.git.kernel.org/platform/manifest.git
repo initialized in /home/tarandeep/code/Android
repo sync
... It downloaded GBs of data (I can confirm via network monitor) and then nothing appeared in the Android directory.
It's a git repo in a hidden directory, .git
. "Hidden" just means it starts with a period.
When in doubt, you can use ls -a
or ls -al
(vertical) to see hidden directories.
However, you will generally interact with the repository using git
commands, repo
commands wrapping git
, or a GUI equivalent.
I experienced this. Somehow I had configured repo incorrectly and it was depositing the source into my home directory rather than my working directory. I blew away all the .repo* directories/files in my home directory, then re-ran repo init
and repo sync
in the working directory. All was well after that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With