$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libtalloc.git /var/lib/mock/dist-an8.4-build-19531-8448/root/chroot_tmpdir/scmroot/libtalloc Cloning into '/var/lib/mock/dist-an8.4-build-19531-8448/root/chroot_tmpdir/scmroot/libtalloc'... $ git reset --hard origin/a8 HEAD is now at 4fdfb84 update to libtalloc-2.3.1-2.el8.src.rpm