$ git clone -n https://gitee.com/src-opencloudos-rpms/ostree /var/lib/mock/dist-oc8-build-58058-15875/root/chroot_tmpdir/scmroot/ostree Cloning into '/var/lib/mock/dist-oc8-build-58058-15875/root/chroot_tmpdir/scmroot/ostree'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ostree * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e82c4c4 import ostree-2022.2-8.tl3