git 拉取远程分支,并在本地创建同名分支
2019-06-27 本文已影响0人
Allan要做活神仙
git 拉取远程分支
git fetch origin 远程分支
git checkout -b 本地分支名 origin/远程分支
举例:
git checkout -b feature/xxx origin/feature/xxx
git 拉取远程分支
git fetch origin 远程分支
git checkout -b 本地分支名 origin/远程分支
举例:
git checkout -b feature/xxx origin/feature/xxx