$ git clone -n https://gitee.com/src-anolis-os/subscription-manager.git /var/lib/mock/dist-an8.9-build-382709-71837/root/chroot_tmpdir/scmroot/subscription-manager Cloning into '/var/lib/mock/dist-an8.9-build-382709-71837/root/chroot_tmpdir/scmroot/subscription-manager'... $ git reset --hard 362a588f13aef4f1c5b85b341cd42d5f4ac2d38f HEAD is now at 362a588 update to subscription-manager-1.28.13-4.el8_4