$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/http-parser.git /var/lib/mock/dist-an7-build-28004-15219/root/chroot_tmpdir/scmroot/http-parser Cloning into '/var/lib/mock/dist-an7-build-28004-15219/root/chroot_tmpdir/scmroot/http-parser'... $ git reset --hard origin/a7 HEAD is now at 6d93657 update to http-parser-2.7.1-8.el7.src.rpm