$ git clone -n https://gitee.com/src-anolis-os/rng-tools.git /var/lib/mock/dist-an8-build-63196-34888/root/chroot_tmpdir/scmroot/rng-tools Cloning into '/var/lib/mock/dist-an8-build-63196-34888/root/chroot_tmpdir/scmroot/rng-tools'... $ git reset --hard origin/a8 HEAD is now at 35b7aac update to rng-tools-6.13-1.git.d207e0b6.el8