-
-
Save ArtemBernatskyy/2addc141d5f9e2c1864ef1b089327110 to your computer and use it in GitHub Desktop.
Gitignore with .gitkeep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# +----------------------------+ | |
# | 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