Git更新远程分支列表

 git remote update origin --prune,这里要注意下,如果你的remote branch不是在origin下,按你得把origin换成你的名字。


$ git remote update origin --prune
Fetching origin
remote: Counting objects: 510, done.
remote: Compressing objects: 100% (421/421), done.
remote: Total 510 (delta 274), reused 0 (delta 0)
Receiving objects: 100% (510/510), 602.34 KiB | 0 bytes/s, done.
Resolving deltas: 100% (274/274), completed with 57 local objects.
From http://172.20.31.101/Android/XNOnline_Studio
   591c217f..c24cc128  Branch_3.6.0 -> origin/Branch_3.6.0
   124c9175..2152c0d9  Branch_3.5.0 -> origin/Branch_3.5.0
 * [new branch]        Branch_3.7.0 -> origin/Branch_3.7.0
   8193a08d..c24cc128  master       -> origin/master


阅读更多
换一批

没有更多推荐了,返回首页