close
(By Robin Peng)
Step 1. 取得project source code:
git clone git://android.git.kernel.org/platform/cts.git
Step 2. 列出已有的tag
git tag
Android 2.1 CTS相關的tag如下
android-cts-2.1_r2
android-cts-2.1_r3
android-cts-2.1_r4
android-cts-2.1_r5
Step 3. 從某個tag建立自己專屬的branch
git checkout -b mybranch-r2 android-cts-2.1_r2
Step 4. 切換到某個branch(切換後, folder下的code就會是Step 3所指定tag的版本了)
git checkout mybranch-r2
全站熱搜
留言列表