$ git clone -n https://gitee.com/src-anolis-os/ImageMagick.git /var/lib/mock/dist-an23-build-277792-64428/root/chroot_tmpdir/scmroot/ImageMagick Cloning into '/var/lib/mock/dist-an23-build-277792-64428/root/chroot_tmpdir/scmroot/ImageMagick'... $ git reset --hard d26f9b3ad58a864902dbad727ab3a6785b1c13c9 HEAD is now at d26f9b3 7.1.1-11 $ git lfs pull