$ git clone -n https://gitee.com/linguanren/oceanbase-ce.git /var/lib/mock/dist-an8.9-build-385583-71957/root/chroot_tmpdir/scmroot/oceanbase-ce Cloning into '/var/lib/mock/dist-an8.9-build-385583-71957/root/chroot_tmpdir/scmroot/oceanbase-ce'... $ git fetch origin a39bb7aeffdb618f1f441034c9b454197ffd8edb:KOJI_FETCH_HEAD From https://gitee.com/linguanren/oceanbase-ce * [new ref] a39bb7aeffdb618f1f441034c9b454197ffd8edb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a39bb7a reset gcc