.gitignore for GoHugo

Patrick Kollitsch  | Wednesday, November 3, 2021 at 8:03 pm
Photo by Mikhail Vasilyev via Unsplash
Photo by Mikhail Vasilyev via Unsplash

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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
.hugo_build.lock

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

    Remotely related

    Hyper shell
    Hyper shell
    • Patrick Kollitsch
    • Tuesday, November 16, 2021 at 7:52 pm

      Hyper Shell

      There is nothing, you can’t do with Electron, apparently. Newest proof is Hyper, a shell inside of Electron (you read that right). Developed by Vercel, the app is theme-able and extensible by plugins, like any other Electron app. It doesn’t look though like any init scripts like .

      Read Article
      stefanjudis.com
      stefanjudis.com

      You got to...

      … subscribe to Stefan Judis' Newsletter (click this link, load his site, scroll to the footer and subscribe). Trust me. It’s good. Weekly. His topics touch everything web development related and there is never an issue from which I don’t learn something new.

      Read Article