$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libcomps.git /var/lib/mock/dist-an8.4-build-19471-8438/root/chroot_tmpdir/scmroot/libcomps Cloning into '/var/lib/mock/dist-an8.4-build-19471-8438/root/chroot_tmpdir/scmroot/libcomps'... $ git reset --hard origin/a8 HEAD is now at b1ae613 update to libcomps-0.1.11-5.el8.src.rpm