$ git clone -n https://gitee.com/fundawang/sdl2_image.git /var/lib/mock/dist-an23-build-168796-58863/root/chroot_tmpdir/scmroot/sdl2_image Cloning into '/var/lib/mock/dist-an23-build-168796-58863/root/chroot_tmpdir/scmroot/sdl2_image'... $ git reset --hard d5a955a6eb1ea983db48d9c5548987c56095409e HEAD is now at d5a955a 2.6.2