$ git clone -n https://gitee.com/mgb01105731/mesa.git /var/lib/mock/dist-an23.1-devel-build-364740-71287/root/chroot_tmpdir/scmroot/mesa Cloning into '/var/lib/mock/dist-an23.1-devel-build-364740-71287/root/chroot_tmpdir/scmroot/mesa'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/mesa * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0b278ba rebuild