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