$ git clone -n https://gitee.com/happy_orange/java-17-alibaba-dragonwell.git /var/lib/mock/dist-an8.7-build-222374-62189/root/chroot_tmpdir/scmroot/java-17-alibaba-dragonwell Cloning into '/var/lib/mock/dist-an8.7-build-222374-62189/root/chroot_tmpdir/scmroot/java-17-alibaba-dragonwell'... $ git reset --hard a83b25eb14256590b524d379b6c532b355beedbe HEAD is now at a83b25e unset the java-17-alibaba-dragonwell is a system java