mindthump

Git: Keep Empty Directory

Jul 8th, 2020
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Git Tip: keep the directory but not the contents, so clone creates it (mostly for my docker volume stuff).

From StackOverflow

.gitignore:

# Ignore everything in this directory
*
# Except this file
!.gitignore
Add Comment
Please, Sign In to add comment