$ git clone -n https://gitee.com/lvfeicaiji_admin/java-1.8.0-alibaba-dragonwell.git /var/lib/mock/dist-an23-build-python3.11-394055-71986/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell Cloning into '/var/lib/mock/dist-an23-build-python3.11-394055-71986/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell'... $ git fetch origin 00eec407864fc891e652ccb5a92121637b4599cd:KOJI_FETCH_HEAD From https://gitee.com/lvfeicaiji_admin/java-1.8.0-alibaba-dragonwell * [new ref] 00eec407864fc891e652ccb5a92121637b4599cd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 00eec40 remove all files not related to source code