赞
踩
git init
git remote add origin 项目的url
例如:
git remote add origin https://github.com/apache/dubbo-samples.git
git fetch origin 远程仓库的分支名
例如:
git fetch origin master
git checkout -b 本地分支名称 origin/远程分支名称
例如:
git checkout -b dev origin/master
git pull origin 远程分支名称
例如:
git pull origin master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。