Last active
August 29, 2015 14:16
-
-
Save jherran/ed5d8e90784ef5b30206 to your computer and use it in GitHub Desktop.
Git Hook post-checkout for running pod install after git checkout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ -f Podfile ] && command -v pod install >/dev/null | |
| then | |
| (unset GIT_DIR; exec pod install) | |
| true | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment