$ git clone -n https://gitee.com/src-opencloudos-rpms/java-11-openjdk /var/lib/mock/dist-oc8-build-57006-15199/root/chroot_tmpdir/scmroot/java-11-openjdk Cloning into '/var/lib/mock/dist-oc8-build-57006-15199/root/chroot_tmpdir/scmroot/java-11-openjdk'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/java-11-openjdk * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e0468a7 import java-11-openjdk-11.0.21.0.9-2.tl3