$ git clone -n https://gitee.com/fundawang/ImageMagick.git /var/lib/mock/dist-an23-build-246582-63175/root/chroot_tmpdir/scmroot/ImageMagick Cloning into '/var/lib/mock/dist-an23-build-246582-63175/root/chroot_tmpdir/scmroot/ImageMagick'... $ git reset --hard df460aa7e9e2e39e97b65469a37608eede415a21 HEAD is now at df460aa drop docdir patch