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