Hugo now writes an empty file named .hugo_build.lock to the root of the project when building (also when doing hugo new mypost.md and other commands that requires a build). We recommend you just leave this file alone. Put it in .gitignore or similar if you don't want the file in your source repository.
I'd like to add an entry for this to .gitignore so that the file doesn't show up in my index when working on pull requests.
Reference: Hugo v0.89
I'd like to add an entry for this to .gitignore so that the file doesn't show up in my index when working on pull requests.