$ git clone -n https://gitee.com/src-anolis-dde/tinyxml2.git /var/lib/mock/dist-an23-dde-build-303383-66040/root/chroot_tmpdir/scmroot/tinyxml2 Cloning into '/var/lib/mock/dist-an23-dde-build-303383-66040/root/chroot_tmpdir/scmroot/tinyxml2'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-dde/tinyxml2 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7001438 fix build error on a23