$ git clone -n https://gitee.com/mgb01105731/mariadb.git /var/lib/mock/dist-an23.3-build-431406-73055/root/chroot_tmpdir/scmroot/mariadb Cloning into '/var/lib/mock/dist-an23.3-build-431406-73055/root/chroot_tmpdir/scmroot/mariadb'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/mariadb * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cf64ccf update to 10.6.21