$ git clone -n https://gitee.com/gaohongmei/libsolv.git /var/lib/mock/dist-an8.6-build-211342-61916/root/chroot_tmpdir/scmroot/libsolv Cloning into '/var/lib/mock/dist-an8.6-build-211342-61916/root/chroot_tmpdir/scmroot/libsolv'... $ git reset --hard c2943b90fa73b9ae76a5dda8e032afb148ebd282 HEAD is now at c2943b9 0.7.23