$ git clone -n https://src.fedoraproject.org/rpms/gopls.git /var/lib/mock/f42-build-866708-174061/root/chroot_tmpdir/scmroot/gopls Cloning into '/var/lib/mock/f42-build-866708-174061/root/chroot_tmpdir/scmroot/gopls'... $ git fetch origin 3401d87d91d0930ac626e184862611b5df3be9e6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gopls * [new ref] 3401d87d91d0930ac626e184862611b5df3be9e6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3401d87 Fix FTBFS with newer golang-x-tools