$ git clone -n https://gitee.com/zhonglingh/ImageMagick.git /var/lib/mock/dist-an23-build-241676-63059/root/chroot_tmpdir/scmroot/ImageMagick Cloning into '/var/lib/mock/dist-an23-build-241676-63059/root/chroot_tmpdir/scmroot/ImageMagick'... $ git reset --hard d3b398ada7d7ca8bea825133355bdbe65e6d367e HEAD is now at d3b398a Init package from upstream