Skip to content

Instantly share code, notes, and snippets.

@hieblmedia
hieblmedia / .gitignore
Last active March 4, 2026 19:57
Gitignore - Exclude all except specific subdirectory
#
# If all files excluded and you will include only specific sub-directories
# the parent path must matched before.
#
/**
!/.gitignore
###############################
# Un-ignore the affected subdirectory