Skip to content

Instantly share code, notes, and snippets.

@andymadge
Created December 9, 2021 22:38
Show Gist options
  • Save andymadge/f649b4cdd816f58d492817c2b55bf098 to your computer and use it in GitHub Desktop.
Save andymadge/f649b4cdd816f58d492817c2b55bf098 to your computer and use it in GitHub Desktop.
# Put this file in any directories that should be included as empty directories in the repo
# i.e. ignore the contents but include the empty dir
# ignore everything in this directory
*
# but whitelist these files - important to include gitignore in repo
!.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment