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