基于远程分支创建本地分支

245 阅读1分钟

背景,本地有两个仓库,一个origin,一个base,当我想在本地base仓库建一个dev分支, 1.git fetch base dev 2.git checkout -b dev base/dev