$ git clone -n https://gitee.com/src-opencloudos-rpms/xml-commons-apis.git /var/lib/mock/dist-oc9-build-48412-14592/root/chroot_tmpdir/scmroot/xml-commons-apis Cloning into '/var/lib/mock/dist-oc9-build-48412-14592/root/chroot_tmpdir/scmroot/xml-commons-apis'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/xml-commons-apis * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c0e7538 import xml-commons-apis-1.4.01-2.tl4