$ git clone -n https://gitee.com/src-opencloudos-rpms/gcr.git /var/lib/mock/dist-oc9-build-41251-14591/root/chroot_tmpdir/scmroot/gcr Cloning into '/var/lib/mock/dist-oc9-build-41251-14591/root/chroot_tmpdir/scmroot/gcr'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gcr * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d868692 import gcr-3.92.0-3.tl4