$ git clone -n https://gitee.com/src-anolis-os/ceph.git /var/lib/mock/dist-an8.7-build-270832-64130/root/chroot_tmpdir/scmroot/ceph Cloning into '/var/lib/mock/dist-an8.7-build-270832-64130/root/chroot_tmpdir/scmroot/ceph'... $ git fetch origin f81cb547f6d0909910fbd30a020cb9c6e507018f:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/ceph * [new ref] f81cb547f6d0909910fbd30a020cb9c6e507018f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f81cb54 Add missing header for gcc10 build