Last active
March 12, 2024 21:39
-
-
Save MatthewScholefield/91c671f5e4d3c56cf5a1 to your computer and use it in GitHub Desktop.
Include only certain file types with .gitignore
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
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*/*.* | |
*/*/*/*/*/*/*.* | |
*/*/*/*/*/*.* | |
*/*/*/*/*.* | |
*/*/*/*.* | |
*/*/*.* | |
*/*.* | |
*.* | |
!/**/*.cpp | |
!/**/*.h | |
# ================== Caveats ================== # | |
# - It only works with up to 32 subdirectories # | |
# - It only excludes files with extensions # | |
# - New, empty folders will be included # | |
# - It will exclude any folder with a period # | |
# ============================================= # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment