Skip to content

Instantly share code, notes, and snippets.

@ArtemBernatskyy
Forked from x3rAx/.gitignore
Created April 3, 2021 18:04
Show Gist options
  • Save ArtemBernatskyy/2addc141d5f9e2c1864ef1b089327110 to your computer and use it in GitHub Desktop.
Save ArtemBernatskyy/2addc141d5f9e2c1864ef1b089327110 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