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