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