Skip to content

Instantly share code, notes, and snippets.

@seanc
Created October 22, 2015 04:10
Show Gist options
  • Save seanc/4750112bb5c4cc10c5f3 to your computer and use it in GitHub Desktop.
Save seanc/4750112bb5c4cc10c5f3 to your computer and use it in GitHub Desktop.
Most useful command ever like.. ever.
#Thanks http://stackoverflow.com/a/31249949
find . -type d -empty -not -path "./.git/*" -exec touch {}/.gitkeep \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment