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