$ git clone -n https://gitee.com/src-opencloudos-rpms/cloud-init /var/lib/mock/dist-oc8-build-66671-17072/root/chroot_tmpdir/scmroot/cloud-init Cloning into '/var/lib/mock/dist-oc8-build-66671-17072/root/chroot_tmpdir/scmroot/cloud-init'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/cloud-init * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d484829 update SOURCES/0001-add-opencloudos-support.patch.