我这么执行:
ebagyu@ebagyu-System-Product-Name:~/working/kernel$ git clone https://android.googlesource.com/kernel/common.git Cloning into 'common'...
remote: Counting objects: 61910, done
remote: Finding sources: 100% (71/71)
remote: Getting sizes: 100% (40/40)
remote: Compressing objects: 100% (40/40)
remote: Total 2476726 (delta 2077666), reused 2476686 (delta 2077663)
Receiving objects: 100% (2476726/2476726), 499.01 MiB | 580 KiB/s, done.
Resolving deltas: 100% (2077722/2077722), done.
ebagyu@ebagyu-System-Product-Name:~/working/kernel$ ls发现common这个文件夹下面是空的 这是怎么回事呢?
git log 也没有东西ebagyu@ebagyu-System-Product-Name:~/working/kernel/common$ git log
commit fe8bf45a464d5dc6eea5c7269b35d142bd23be99
Author: Jean-Baptiste Queru <[email protected]>
Date: Mon Nov 14 15:58:25 2011 -0800 empty commit
ebagyu@ebagyu-System-Product-Name:~/working/kernel$ git clone https://android.googlesource.com/kernel/common.git Cloning into 'common'...
remote: Counting objects: 61910, done
remote: Finding sources: 100% (71/71)
remote: Getting sizes: 100% (40/40)
remote: Compressing objects: 100% (40/40)
remote: Total 2476726 (delta 2077666), reused 2476686 (delta 2077663)
Receiving objects: 100% (2476726/2476726), 499.01 MiB | 580 KiB/s, done.
Resolving deltas: 100% (2077722/2077722), done.
ebagyu@ebagyu-System-Product-Name:~/working/kernel$ ls发现common这个文件夹下面是空的 这是怎么回事呢?
git log 也没有东西ebagyu@ebagyu-System-Product-Name:~/working/kernel/common$ git log
commit fe8bf45a464d5dc6eea5c7269b35d142bd23be99
Author: Jean-Baptiste Queru <[email protected]>
Date: Mon Nov 14 15:58:25 2011 -0800 empty commit
john@john-Inspiron-7420:~/codebase/work/kernel/common$ git branch -a
* (no branch)
master
remotes/origin/HEAD -> origin/master
remotes/origin/android-2.6.39
remotes/origin/android-3.0
remotes/origin/android-3.3
remotes/origin/android-3.4
remotes/origin/android-3.4-compat
remotes/origin/coupled-cpuidle
remotes/origin/linux-bcm43xx-2.6.39
remotes/origin/master
checkout 一下就好了