$ git clone -n https://gitee.com/src-opencloudos-rpms/java-1.8.0-openjdk.git /var/lib/mock/dist-oc8-build-73141-48700/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk Cloning into '/var/lib/mock/dist-oc8-build-73141-48700/root/chroot_tmpdir/scmroot/java-1.8.0-openjdk'... $ git fetch origin abd16dbf749b4add4c41ff742e27f50d8bfc5583:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/java-1.8.0-openjdk * [new ref] abd16dbf749b4add4c41ff742e27f50d8bfc5583 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at abd16db import java-1.8.0-openjdk-1.8.0.412.b08-2.tl3