Created
April 6, 2017 01:14
-
-
Save mattmc3/7d80999fef45d68aa1cb2d8a23a2382a to your computer and use it in GitHub Desktop.
Git - add .gitkeep to empty dirs
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
| find . -type d ! -path "*.git*" -empty -exec touch '{}'/.gitkeep \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment