当我尝试获取android内核源代码时
git clone https://android.googlesource.com/kernel/exynos.git
我最终得到一个空的目录,除了.git。
我在'主'分支。
如何获取源代码?
我认为存储库有代码,因为我收到了560 MB的数据
$ git clone https://android.googlesource.com/kernel/exynos.git
Cloning into 'exynos'...
remote: Sending approximately 540.86 MiB ...
remote: Counting objects: 43365, done
remote: Finding sources: 100% (1475/1475)
remote: Getting sizes: 100% (425/425)
remote: Compressing objects: 100% (7574351/7574351)
remote: Total 2478827 (delta 2063341), reused 2478452 (delta 2063298)
Receiving objects: 100% (2478827/2478827), 540.64 MiB | 199 KiB/s, done.
Resolving deltas: 100% (2063553/2063553), done.
答案 0 :(得分:2)
看起来master
分支是空的。尝试:
git checkout android-exynos-3.4
或
git checkout android-exynos-manta-3.4-kitkat-mr1
通过
查看所有分支机构git branch -a