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