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