$ git clone -n https://gitee.com/src-opencloudos-rpms/python-smi.git /var/lib/mock/dist-oc9-epol-build-54195-14768/root/chroot_tmpdir/scmroot/python-smi Cloning into '/var/lib/mock/dist-oc9-epol-build-54195-14768/root/chroot_tmpdir/scmroot/python-smi'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-smi * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d5fcd2d import python-smi-0.3.4-2.tl4