$ git clone -n https://gitee.com/kim-g/java-1.8.0-alibaba-dragonwell_1.git /var/lib/mock/dist-an8.7-build-234414-62522/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell_1 Cloning into '/var/lib/mock/dist-an8.7-build-234414-62522/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell_1'... $ git reset --hard 7850e767abe1f56687b54cb90ce89310250fe124 HEAD is now at 7850e76 update files