Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@x3rAx
Created August 6, 2015 20:36
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save x3rAx/cf34c0c2648e9139a674 to your computer and use it in GitHub Desktop.
Save x3rAx/cf34c0c2648e9139a674 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