Skip to content

Instantly share code, notes, and snippets.

@alexisljn
Created March 2, 2020 08:16
Show Gist options
  • Save alexisljn/e035e244b6f10747eb712b52cc98fe74 to your computer and use it in GitHub Desktop.
Save alexisljn/e035e244b6f10747eb712b52cc98fe74 to your computer and use it in GitHub Desktop.
Create .gitkeep file in empty folders
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