摘要: 1. 切换分支 git fetch --all git reset --hard origin/master git checkout dev 2. http模式实现不同项目使用不同账号 git clone http://账号或邮箱:密码@git仓库链接 ps: 账号、邮箱或密码中有@字符时,转义成 阅读全文