Skip to content

Instantly share code, notes, and snippets.

@arkon108
Created January 25, 2022 15:43
Show Gist options
  • Save arkon108/743e6a063fb637fed42f57887ba69c8c to your computer and use it in GitHub Desktop.
Save arkon108/743e6a063fb637fed42f57887ba69c8c to your computer and use it in GitHub Desktop.
Git track empty dir (e.g. uploads)
# Don't track files in this directory
*
# Don't track subdirs even
*/
# Except this file
!.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment