Skip to content

Instantly share code, notes, and snippets.

@qapquiz
Created January 28, 2020 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qapquiz/5ec288baf83676a760a80ec10d5dfc19 to your computer and use it in GitHub Desktop.
Save qapquiz/5ec288baf83676a760a80ec10d5dfc19 to your computer and use it in GitHub Desktop.
Unity Git Hooks -> There are three files
#!/bin/sh
ASSETS_DIR="$(git config --get unity3d.assets-dir || echo "Assets")"
# Remove empty assets directory
find "$ASSETS_DIR" -depth -type d -empty -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment