$ git clone -n https://gitee.com/src-opencloudos-rpms/maven.git /var/lib/mock/dist-oc9-build-70742-47466/root/chroot_tmpdir/scmroot/maven Cloning into '/var/lib/mock/dist-oc9-build-70742-47466/root/chroot_tmpdir/scmroot/maven'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/maven * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c00483 import maven-3.8.6-8.tl4