Skip to content

Instantly share code, notes, and snippets.

@ponko2
Created January 17, 2012 02:43
Show Gist options
  • Select an option

  • Save ponko2/1624232 to your computer and use it in GitHub Desktop.

Select an option

Save ponko2/1624232 to your computer and use it in GitHub Desktop.
Git で空のディレクトリを管理する ref: http://qiita.com/items/1750
# 空のディレクトリに .gitkeep を追加する
find . -type d -not -path './.git*' -empty -print0 | xargs -0I% touch %/.gitkeep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment