$ git clone -n https://gitee.com/src-opencloudos-rpms/libdaemon.git /var/lib/mock/dist-oc9-build-62587-16463/root/chroot_tmpdir/scmroot/libdaemon Cloning into '/var/lib/mock/dist-oc9-build-62587-16463/root/chroot_tmpdir/scmroot/libdaemon'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libdaemon * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 564356f import libdaemon-0.14-4.tl4