$ git clone -n https://gitee.com/fundawang/sdl2_image.git /var/lib/mock/dist-an23-build-168815-58863/root/chroot_tmpdir/scmroot/sdl2_image Cloning into '/var/lib/mock/dist-an23-build-168815-58863/root/chroot_tmpdir/scmroot/sdl2_image'... $ git reset --hard f6b0742defc2f2222953c70522d757334c0fb7d8 HEAD is now at f6b0742 more options