Skip to content

Instantly share code, notes, and snippets.

@teebow1e
Forked from x3rAx/.gitignore
Created August 8, 2024 18:35
Show Gist options
  • Save teebow1e/0c71cc0bfd94abf66843739464fb6b1f to your computer and use it in GitHub Desktop.
Save teebow1e/0c71cc0bfd94abf66843739464fb6b1f to your computer and use it in GitHub Desktop.
Gitignore with .gitkeep
# +----------------------------+
# | IDE files |
# +----------------------------+
/.idea
# +----------------------------+
# | Vagrant |
# +----------------------------+
/.vagrant
/config/local/*
/vagrant_config
# +----------------------------+
# | misc |
# +----------------------------+
# +----------------------------+
# | Keep .gitkeep files |
# +----------------------------+-------------------------------+
# | To keep an empty directory, add a .gitkeep file to it |
# | and ignore the directory with a wildcard: |
# | |
# | /path/to/dir/* |
# | |
# | this will ignore the content but not the director itself. |
# +------------------------------------------------------------+
!/**/.gitkeep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment