$ git clone -n https://gitee.com/gcdota930915/enchant2.git /var/lib/mock/dist-an8.6-build-179179-59070/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/dist-an8.6-build-179179-59070/root/chroot_tmpdir/scmroot/enchant2'... $ git reset --hard f862d2c7d492f7e43fde58d33d75d22537a440b9 HEAD is now at f862d2c update to enchant2-2.2.15-6.el9.src.rpm