Yay error "fatal: not a git repository (or any parent up to mount point /)"

Move the affected folders out of the way:

mv ~/.cache/yay/onlyoffice-bin ~/.cache/yay/onlyoffice-bin-old

As an example. Or just nuke the entire cache and start fresh.

2 Likes