Browse Source

New Gitignore from Toptal

codeskraps 2 months ago
parent
commit
4eaa1ac8cd
1 changed files with 49 additions and 3 deletions
  1. 49 3
      .gitignore

+ 49 - 3
.gitignore

@@ -1,6 +1,52 @@
+# Created by https://www.toptal.com/developers/gitignore/api/hugo,macos
+# Edit at https://www.toptal.com/developers/gitignore?templates=hugo,macos
+
+### Hugo ###
+# Generated files by hugo
+/public/
+/resources/_gen/
+/assets/jsconfig.json
+hugo_stats.json
+
+# Executable may be added to repository
+hugo.exe
+hugo.darwin
+hugo.linux
+
 # Temporary lock file while building
 /.hugo_build.lock
-/resources/_gen/
 
-# Stupid Mac file
-**/.DS_Store
+### macOS ###
+# General
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+.com.apple.timemachine.donotpresent
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
+
+### macOS Patch ###
+# iCloud generated files
+*.icloud
+
+# End of https://www.toptal.com/developers/gitignore/api/hugo,macos