$ git clone -n https://gitee.com/src-opencloudos-rpms/libvirt-python.git /var/lib/mock/dist-oc9-build-60654-16463/root/chroot_tmpdir/scmroot/libvirt-python Cloning into '/var/lib/mock/dist-oc9-build-60654-16463/root/chroot_tmpdir/scmroot/libvirt-python'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libvirt-python * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 180c48a import libvirt-python-9.6.0-3.tl4