1. git clone "httpss: xxx" 拉取最新版本
2. (直接从分支拉取 git clone -b develop XXX) develop是分支名称
3. 在拉取的文件夹下重新 Git Bash Here
4. 切换到指定版本号 git reset --hard 51adf7
(版本号可以在git上看即:提交记录;git reflog 命令可以查看历史版本号)
git迁移到其他项目了,Git Bash Here打开后,直接输入以下命令,然后再重新拉取成功就可以用了
git remote set-url origin http://192.168.1.100:3000/warrior/anxinportal.git