$ git clone -n https://gitee.com/gcdota930915/createrepo_c.git /var/lib/mock/dist-an8.7-build-177904-59111/root/chroot_tmpdir/scmroot/createrepo_c Cloning into '/var/lib/mock/dist-an8.7-build-177904-59111/root/chroot_tmpdir/scmroot/createrepo_c'... $ git reset --hard origin/a8-poc HEAD is now at 5d9c9e3 update to createrepo_c-0.20.1-1.el9.src.rpm