$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/curl.git /var/lib/mock/dist-an7-updates-build-42785-21665/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-an7-updates-build-42785-21665/root/chroot_tmpdir/scmroot/curl'... $ git reset --hard origin/a7 HEAD is now at 2bd4571 update to curl-7.29.0-59.el7.src.rpm