2013. 12. 31. 12:26
728x90
$ git clone https://android.googlesource.com/kernel/tegra.git


후에 디렉토리내에 .git 디렉토리만 존재하고 파일이 없을 때


brown@android-build:~/project/kernel$ cd tegra/
brown@android-build:~/project/kernel/tegra$ ls
brown@android-build:~/project/kernel/tegra$ ls -al
total 12
drwxr-xr-x 3 brown brown 4096 Dec 31 10:00 .
drwxr-xr-x 5 brown brown 4096 Dec 31 11:37 ..
drwxr-xr-x 8 brown brown 4096 Dec 31 10:05 .git
brown@android-build:~/project/kernel/tegra$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/android-3.10
  remotes/origin/android-tegra-3.10
  remotes/origin/android-tegra-moto-2.6.36
  remotes/origin/android-tegra-moto-2.6.39
  remotes/origin/android-tegra-moto-2.6.39-ics-mr1
  remotes/origin/android-tegra-moto-2.6.39-jb-mr0
  remotes/origin/android-tegra3-grouper-3.1-jb-fr1
  remotes/origin/android-tegra3-grouper-3.1-jb-fr2
  remotes/origin/android-tegra3-grouper-3.1-jb-mr0
  remotes/origin/android-tegra3-grouper-3.1-jb-mr1
  remotes/origin/android-tegra3-grouper-3.1-jb-mr1-fr
  remotes/origin/android-tegra3-grouper-3.1-jb-mr1.1
  remotes/origin/android-tegra3-grouper-3.1-jb-mr2
  remotes/origin/android-tegra3-grouper-3.1-kitkat-mr0
  remotes/origin/android-tegra3-grouper-3.1-kitkat-mr1
  remotes/origin/master
brown@android-build:~/project/kernel/tegra$ git checkout android-tegra3-grouper-3.1-kitkat-mr1
Checking out files: 100% (38129/38129), done.
Branch android-tegra3-grouper-3.1-kitkat-mr1 set up to track remote branch android-tegra3-grouper-3.1-kitkat-mr1 from origin.
Switched to a new branch 'android-tegra3-grouper-3.1-kitkat-mr1'


728x90
복사했습니다!