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