$ git clone -n https://gitee.com/kim-g/java-1.8.0-alibaba-dragonwell_1.git /var/lib/mock/dist-an23-build-234752-62731/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell_1 Cloning into '/var/lib/mock/dist-an23-build-234752-62731/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell_1'... $ git reset --hard 6586ca6bbf175370fe35782b6c500af8fdee7e2e HEAD is now at 6586ca6 update files