$ git clone -n https://gitee.com/src-opencloudos-rpms/java-1.8.0-openjdk.git /var/lib/mock/dist-oc8-build-36931-12041/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk Cloning into '/var/lib/mock/dist-oc8-build-36931-12041/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk'... $ git reset --hard origin/oc8 HEAD is now at f395ce6 import java-1.8.0-openjdk-1.8.0.372.b07-1.oc8