$ git clone -n https://gitee.com/src-anolis-os/mdds.git /var/lib/mock/dist-an8.6-build-136182-50301/root/chroot_tmpdir/scmroot/mdds Cloning into '/var/lib/mock/dist-an8.6-build-136182-50301/root/chroot_tmpdir/scmroot/mdds'... $ git reset --hard bef8cd4f22f4ab162f1704718b79422cf429b355 HEAD is now at bef8cd4 update to mdds-1.5.0-2.el8