$ git clone -n https://gitee.com/mgb01105731/mariadb.git /var/lib/mock/dist-an23.3-build-431829-73058/root/chroot_tmpdir/scmroot/mariadb Cloning into '/var/lib/mock/dist-an23.3-build-431829-73058/root/chroot_tmpdir/scmroot/mariadb'... $ git fetch origin 0d071fd56d09fe0a84de0c5d3c8c3e840c56814d:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/mariadb * [new ref] 0d071fd56d09fe0a84de0c5d3c8c3e840c56814d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0d071fd fix build err