$ git clone -n https://gitee.com/src-anolis-os/ImageMagick.git /var/lib/mock/dist-an7_9-updates-build-320696-67917/root/chroot_tmpdir/scmroot/ImageMagick Cloning into '/var/lib/mock/dist-an7_9-updates-build-320696-67917/root/chroot_tmpdir/scmroot/ImageMagick'... $ git reset --hard origin/a7 HEAD is now at d7db79a Update to ImageMagick-6.9.10.68-7.el7_9