$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/httpd.git /var/lib/mock/dist-an7-updates-build-42864-21665/root/chroot_tmpdir/scmroot/httpd Cloning into '/var/lib/mock/dist-an7-updates-build-42864-21665/root/chroot_tmpdir/scmroot/httpd'... $ git reset --hard origin/a7 HEAD is now at 34e2064 update to httpd-2.4.6-95.el7.centos.src.rpm