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