$ git clone -n https://gitee.com/src-opencloudos-rpms/mtx.git /var/lib/mock/dist-oc9-build-63924-16463/root/chroot_tmpdir/scmroot/mtx Cloning into '/var/lib/mock/dist-oc9-build-63924-16463/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 ef170a7 import mtx-1.3.12-4.tl4