Git更新远程分支列表

xiaoxiao2021-02-28  47

 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

转载请注明原文地址: https://www.6miu.com/read-39035.html

最新回复(0)