git如何在本地更新远程分支列表?

Viewed 186

git如何在本地更新远程分支列表?

1 Answers

使用 git remote update origin -p, 效果如下:

$ git remote update origin -p
Fetching origin
From ssh://xxx/xxx/xxx
 - [deleted]             (none)     -> origin/738-xxx
 - [deleted]             (none)     -> origin/744-xxx