Skip to content

Instantly share code, notes, and snippets.

@qapquiz
Created January 28, 2020 12:17
Show Gist options
  • Save qapquiz/e0848387e47d0bf380d7a05f6a75cd83 to your computer and use it in GitHub Desktop.
Save qapquiz/e0848387e47d0bf380d7a05f6a75cd83 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