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