$ git clone -n https://gitee.com/fundawang/xapian-core.git /var/lib/mock/dist-an23-build-290793-64987/root/chroot_tmpdir/scmroot/xapian-core Cloning into '/var/lib/mock/dist-an23-build-290793-64987/root/chroot_tmpdir/scmroot/xapian-core'... $ git fetch origin f3d3d8950ccad2740d0ef2088908e110afc7378d:KOJI_FETCH_HEAD From https://gitee.com/fundawang/xapian-core * [new ref] f3d3d8950ccad2740d0ef2088908e110afc7378d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f3d3d89 1.4.23