1.需要生成密钥
ssh-keygen -t rsa -C "xx@xxxx.com" -b 4096
2.查找当前分支对应的tag
git describe --tags
3.将当前的代码切到某一个tag上
git checkout +tag