Created
November 20, 2011 14:29
-
-
Save kazu634/1380314 to your computer and use it in GitHub Desktop.
git管理下の空ディレクトリに.gitkeepを作成するスクリプト
This file contains 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
#!/bin/bash | |
/usr/bin/find . -type d -name .git -prune -p -type d -empty -print -exec touch {}/.gitkeep \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment