$ git clone -n https://gitee.com/xzyang-anolis/geoipupdate.git /var/lib/mock/dist-an23-build-336347-69689/root/chroot_tmpdir/scmroot/geoipupdate Cloning into '/var/lib/mock/dist-an23-build-336347-69689/root/chroot_tmpdir/scmroot/geoipupdate'... $ git fetch origin 1d3c513760ee36316be11e27a9d1722eda34d923:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/geoipupdate * [new ref] 1d3c513760ee36316be11e27a9d1722eda34d923 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1d3c513 pkg init