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