$ git clone -n https://gitee.com/kim-g/java-1.8.0-alibaba-dragonwell_1.git /var/lib/mock/dist-an23-build-234349-62699/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell_1 Cloning into '/var/lib/mock/dist-an23-build-234349-62699/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell_1'... $ git reset --hard 2547ffcb579eac299d97dfce4894dd8db66412f2 HEAD is now at 2547ffc update files