$ git clone -n https://gitee.com/src-anolis-os/ImageMagick.git /var/lib/mock/dist-an23-build-246533-63171/root/chroot_tmpdir/scmroot/ImageMagick Cloning into '/var/lib/mock/dist-an23-build-246533-63171/root/chroot_tmpdir/scmroot/ImageMagick'... $ git reset --hard origin/a23 HEAD is now at 47231fa 7.1.1.6