Skip to content

Instantly share code, notes, and snippets.

@arol
Created January 16, 2013 12:36
Show Gist options
  • Save arol/4546847 to your computer and use it in GitHub Desktop.
Save arol/4546847 to your computer and use it in GitHub Desktop.
This hook executes pod install after a pull (which downloads changes and merge in your local repo) Install it on .git/hooks/post-merge inside your project
#!/bin/bash
#
# Runs 'pod install' after performing a merge in the local repository
source ~/.bash_profile
pod install
@byassine52
Copy link

This one will execute every time you do a pull.
It will be better if it is changed to something like this gist:
https://gist.github.com/sindresorhus/7996717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment