git remote tag/branch without fetch


[lake@localhost refsw-prime]$ git remote  -vv
origin  ssh://git@git.yourcompany.com/mirror/broadcom/bse_refsw/refsw-prime (fetch)
origin  ssh://git@git.yourcompany.com/mirror/broadcom/bse_refsw/refsw-prime (push)
refsw-common    ssh://git@git.yourcompany.com/mirror/broadcom/bse_refsw/refsw-common (fetch)
refsw-common    ssh://git@git.yourcompany.com/mirror/broadcom/bse_refsw/refsw-common (push)
[lake@localhost refsw-prime]$
[lake@localhost refsw-prime]$ git ls-remote --tags    refsw-common   

###  branch/head only   (-t for tags,  -h for head) 
 git  ls-remote  -h       friendlyELEC
ee6fb217cbf3e81cd2c5f1a13f989cf59016781f        refs/heads/master
eca80cb313edd1632826a8a90f68c3b87521b02d        refs/heads/master-h3
4ef665ff6c6ff32a480478589ddf1df325c5f04d        refs/heads/nanopi-k2-v2015.01
ad46cf57242586d8959988afdaab8af00c33ddbb        refs/heads/nanopi2-v2016.01
ece0d370144fdecb6f3ed5738ffe96f5b12f9e96        refs/heads/next
cd5b2b9941d5b6f6596787ebdb03c215d91fc44d        refs/heads/origin
3efe694fd00bd90601d0a7412e6b7bdd90fc61e2        refs/heads/sunxi-v2017.03
73e3bbb832d1effe90ed13e026811633a29e8557        refs/heads/sunxi-v2017.x
f20393c5e787b3776c179d20f82a86bda124d651        refs/heads/u-boot-2009.11.y
e8ae0fa5edd152b2b29c470b88429be4cdcd2c46        refs/heads/u-boot-2013.01.y
f3363c060497515ca8b71451cb56f3ec0abacaa9        refs/heads/u-boot-2016.09.y

### list only no local fetch/remote added

git  ls-remote  -h    https://github.com/friendlyarm/u-boot.git
ee6fb217cbf3e81cd2c5f1a13f989cf59016781f        refs/heads/master
eca80cb313edd1632826a8a90f68c3b87521b02d        refs/heads/master-h3
4ef665ff6c6ff32a480478589ddf1df325c5f04d        refs/heads/nanopi-k2-v2015.01
ad46cf57242586d8959988afdaab8af00c33ddbb        refs/heads/nanopi2-v2016.01
ece0d370144fdecb6f3ed5738ffe96f5b12f9e96        refs/heads/next
cd5b2b9941d5b6f6596787ebdb03c215d91fc44d        refs/heads/origin
3efe694fd00bd90601d0a7412e6b7bdd90fc61e2        refs/heads/sunxi-v2017.03
73e3bbb832d1effe90ed13e026811633a29e8557        refs/heads/sunxi-v2017.x
f20393c5e787b3776c179d20f82a86bda124d651        refs/heads/u-boot-2009.11.y
e8ae0fa5edd152b2b29c470b88429be4cdcd2c46        refs/heads/u-boot-2013.01.y
f3363c060497515ca8b71451cb56f3ec0abacaa9        refs/heads/u-boot-2016.09.y

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值