$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/autoconf.git /var/lib/mock/dist-an7-build-27217-15144/root/chroot_tmpdir/scmroot/autoconf Cloning into '/var/lib/mock/dist-an7-build-27217-15144/root/chroot_tmpdir/scmroot/autoconf'... $ git reset --hard origin/a7 HEAD is now at 8429c41 import autoconf-2.69-11.el7.src.rpm