$ git clone -n https://gitee.com/chen_yu_ao/libcomps.git /var/lib/mock/dist-an23-build-249435-63339/root/chroot_tmpdir/scmroot/libcomps Cloning into '/var/lib/mock/dist-an23-build-249435-63339/root/chroot_tmpdir/scmroot/libcomps'... $ git reset --hard 6e459995df4eedb8a222fdc33f8420aa630e3416 HEAD is now at 6e45999 change spec file format