git 查看远程仓库的log

git查看本地仓库的log很简单 :git log 就行

查看 远程仓库也很简单:git log  远程仓库名

查看所有分支:git branch -a

songchong@srv-pad-compile5:~/3505/ATS350B$ git branch -a                                 
  ble
* ble_use_name_attach_ble
  remotes/origin/gl5118b_dev_v1.9
  remotes/origin/gl5118b_dev_v1.9_patch
  remotes/origin/tb_gl5118b_dev_v1.9_ble
  remotes/origin/tb_gl5118b_dev_v1.9_for_duoshi
  remotes/origin/tb_gl6151_dev
  remotes/origin/tb_minisdk_for_lexin
  remotes/origin/upstream_master
  remotes/origin/upstream_v1.9

远程分支为:remotes/origin/tb_gl5118b_dev_v1.9_ble

查看远程分支log:  git log remotes/origin/tb_gl5118b_dev_v1.9_ble

 

 

 

 

你可能感兴趣的:(git使用)