Skip to content

Commit

Permalink
🗞️ gitignore: Never commit .hugo_build.lock files
Browse files Browse the repository at this point in the history
This commit adds the `.hugo_build.lock` files to the `.gitignore`. This
file is automatically created since Hugo v0.89.0, see notes below:

> 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.

ref: gohugoio/hugo#9048

Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <[email protected]>
  • Loading branch information
jwflory committed Nov 2, 2021
1 parent c79542c commit 5f978c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

##### ---- Hugo ---- #####
# Generated files by hugo
.hugo_build.lock
/public/
/resources/_gen/

Expand Down

0 comments on commit 5f978c2

Please sign in to comment.