Skip to content

Instantly share code, notes, and snippets.

@muhannad0
Last active May 12, 2020 07:03
Show Gist options
  • Save muhannad0/e78f14d7bfa2a1a48320ec7194e5c516 to your computer and use it in GitHub Desktop.
Save muhannad0/e78f14d7bfa2a1a48320ec7194e5c516 to your computer and use it in GitHub Desktop.
Sample gitignore for Hugo projects
### Hugo ###
# Generated files by hugo
/public/
/resources/_gen/
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux
### Code ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
### Vim ###
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
# Coc configuration directory
.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment