$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libqb.git /var/lib/mock/dist-an8.4-build-19500-8444/root/chroot_tmpdir/scmroot/libqb Cloning into '/var/lib/mock/dist-an8.4-build-19500-8444/root/chroot_tmpdir/scmroot/libqb'... $ git reset --hard origin/a8 HEAD is now at 654737d update to libqb-1.0.3-12.el8.src.rpm