git clone到本地之后切换分支

Lenovo@DESKTOP-GOJ0H91 MINGW64 /d/GitHub/u-boot (khadas-vims-nougat)            
$ git checkout (检查属于哪个分支)                                                                 
Your branch is up to date with 'origin/khadas-vims-nougat'.       ---分支是khadas-vims-nougat              
                                                                                
Lenovo@DESKTOP-GOJ0H91 MINGW64 /d/GitHub/u-boot (khadas-vims-nougat)            
$ git checkout khadas-vims-v2015.01       切换到分支khadas-vims-v2015.01                                      
Checking out files: 100% (1737/1737), done.                                     
Switched to a new branch 'khadas-vims-v2015.01'                                 
Branch 'khadas-vims-v2015.01' set up to track remote branch 'khadas-vims-v2015.0
1' from 'origin'.                                                               
                                                                                
Lenovo@DESKTOP-GOJ0H91 MINGW64 /d/GitHub/u-boot (khadas-vims-v2015.01)          
$ git checkout    (检查属于哪个分支)                                                               
Your branch is up to date with 'origin/khadas-vims-v2015.01'.   ---已经切换到分支khadas-vims-v2015.01                

你可能感兴趣的:(github)