-
-
Save gam-phon/3a1dbee1c5f23ed0ad8ab2750fccc2eb to your computer and use it in GitHub Desktop.
Gitignore with .gitkeep
This file contains hidden or 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