$ git clone -n https://gitee.com/ocs-bot/xapian-core.git /var/lib/mock/dist-ocs23-build-115547-7917/root/chroot_tmpdir/scmroot/xapian-core Cloning into '/var/lib/mock/dist-ocs23-build-115547-7917/root/chroot_tmpdir/scmroot/xapian-core'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/xapian-core * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ea7dfb2 Upgrade to version 1.4.24