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