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