Today I cloned a Git repo successfully (I hope), however I can not see any source files in the cloned directory. To be specific I cloned the msm-kernel
repo from Google with the command:
git clone https://android.googlesource.com/kernel/msm.git kernel_msm
The master branch of this repo is empty. You need to check out the proper branch:
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/android-msm-2.6.35
remotes/origin/master
$ git checkout android-msm-2.6.35
Checking out files: 100% (33866/33866), done.
Branch android-msm-2.6.35 set up to track remote branch android-msm-2.6.35 from origin.
Switched to a new branch 'android-msm-2.6.35'
$ ls
COPYING MAINTAINERS arch firmware ipc net sound
CREDITS Makefile block fs kernel samples tools
Documentation README crypto include lib scripts usr
Kbuild REPORTING-BUGS drivers init mm security virt
$
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