$ git clone -n https://gitee.com/src-opencloudos-rpms/python-portend.git /var/lib/mock/dist-oc9-build-122186-71922/root/chroot_tmpdir/scmroot/python-portend Cloning into '/var/lib/mock/dist-oc9-build-122186-71922/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 f8a6eb5 import python-portend-3.2.0-3.tl4