$ git clone -n https://gitee.com/src-opencloudos-rpms/java-11-openjdk.git /var/lib/mock/dist-oc8-build-73335-48808/root/chroot_tmpdir/scmroot/java-11-openjdk Cloning into '/var/lib/mock/dist-oc8-build-73335-48808/root/chroot_tmpdir/scmroot/java-11-openjdk'... $ git fetch origin 6d23d63a567d3545f22560ec2ce275be4a5b8494:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/java-11-openjdk * [new ref] 6d23d63a567d3545f22560ec2ce275be4a5b8494 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d23d63 import java-11-openjdk-11.0.23.0.9-3.tl3