$ git clone -n https://gitee.com/lvfeicaiji_admin/java-1.8.0-alibaba-dragonwell.git /var/lib/mock/dist-an8.8-build-330891-69157/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell Cloning into '/var/lib/mock/dist-an8.8-build-330891-69157/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell'... $ git reset --hard fcb5ee14fc2d71a432d3d09d38b56d5645f3b7a0 HEAD is now at fcb5ee1 Remove all patches