Created
May 12, 2015 05:39
-
-
Save ry-kawa/ff15ef922dde7954e699 to your computer and use it in GitHub Desktop.
gitbash経由でリポジトリ上の空フォルダに.gitkeepを作成する
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
#!/bin/sh | |
find . -type d -name .git -prune -o -prune -o -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