2014-01-09 152 views
2

空目錄當我試圖讓Android的內核源代碼混帳克隆得到git的除外

混帳克隆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. 

回答

2

貌似master分支是空的。嘗試:通過

git branch -a 

git checkout android-exynos-3.4 

git checkout android-exynos-manta-3.4-kitkat-mr1 

查看所有分支