$ git clone -n https://gitee.com/src-opencloudos-rpms/python-genshi.git /var/lib/mock/dist-oc9-build-122085-71891/root/chroot_tmpdir/scmroot/python-genshi Cloning into '/var/lib/mock/dist-oc9-build-122085-71891/root/chroot_tmpdir/scmroot/python-genshi'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-genshi * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 74bfb46 import python-genshi-0.7.7-7.tl4