I really like(d) the gitignore-generator of Toptal.com where you can create your own customised
.gitignore file by selecting all tools, frameworks, programming languages etc. that you use in a project. I even contributed (which is not too hard, hint hint). But somehow all these changes were removed by merging the status of what appears to be the parent project for these .gitignore contents. I now added these changes “upstream” and hope they will be added again to the
.gitignore template for GoHugo.
The current optimum
.gitignore content for a GoHugo project is the following: