$ git clone -n https://gitee.com/lvfeicaiji_admin/java-1.8.0-alibaba-dragonwell.git /var/lib/mock/dist-an23-build-333545-69630/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell Cloning into '/var/lib/mock/dist-an23-build-333545-69630/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell'... $ git fetch origin 3cf4f13d21284aa78942fd09170694ad696f73c6:KOJI_FETCH_HEAD From https://gitee.com/lvfeicaiji_admin/java-1.8.0-alibaba-dragonwell * [new ref] 3cf4f13d21284aa78942fd09170694ad696f73c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3cf4f13 Remove all patches