本文共 173 字,大约阅读时间需要 1 分钟。
1、在git中输入git pull origin,则下载所有origin下的分支(在远程分支名变更或新增时很有用)。
例:我在远端新建了一个test2分支,我输入git pull origin master更新后,用git branch -a或git branch -r都看不到test2.我输入git pull origin之后,就能发现变更。
转载地址:http://ipldi.baihongyu.com/