theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://ananke-theme.netlify.app
MIT License
1.16k stars 1.16k forks source link

Ignore Hugo build lock file #482

Closed tlindsay42 closed 2 years ago

tlindsay42 commented 2 years ago

Reference: Hugo v0.89

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.