$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ImageMagick.git /var/lib/mock/dist-an7-build-35316-16554/root/chroot_tmpdir/scmroot/ImageMagick Cloning into '/var/lib/mock/dist-an7-build-35316-16554/root/chroot_tmpdir/scmroot/ImageMagick'... $ git reset --hard origin/a7 HEAD is now at dd31a25 update to ImageMagick-6.9.10.68-3.el7.src.rpm