$ git clone -n https://gitee.com/gcdota930915/fprintd.git /var/lib/mock/dist-an8.6-build-179191-59070/root/chroot_tmpdir/scmroot/fprintd Cloning into '/var/lib/mock/dist-an8.6-build-179191-59070/root/chroot_tmpdir/scmroot/fprintd'... $ git reset --hard d9837d34216b8640864664c78edfd251c1b35435 HEAD is now at d9837d3 update to fprintd-1.94.0-3.el9.src.rpm