$ git clone -n https://gitee.com/fundawang/libXpm.git /var/lib/mock/dist-an23-build-200320-60963/root/chroot_tmpdir/scmroot/libXpm Cloning into '/var/lib/mock/dist-an23-build-200320-60963/root/chroot_tmpdir/scmroot/libXpm'... $ git reset --hard 302922808639a2e1dd885556761f324de4bf2834 HEAD is now at 3029228 3.5.15