$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libtalloc.git /var/lib/mock/dist-an7-build-32015-15869/root/chroot_tmpdir/scmroot/libtalloc Cloning into '/var/lib/mock/dist-an7-build-32015-15869/root/chroot_tmpdir/scmroot/libtalloc'... $ git reset --hard origin/a7 HEAD is now at 9e8d3b5 import libtalloc-2.1.14-1.el7.src.rpm