Keep your installed pods up-to-date between branch checkouts! This is a git post-checkout
hook for running a pod install whenever a checkout event happens in your local working git repository.
Thanks to Soroush Khanlou for the inspiration and Tim Pope for his blog post for doing this with Bundler.
Install using…
curl https://gist.github.com/kreeger/5871439/raw > .git/hooks/post-checkout
chmod +x .git/hooks/post-checkout
If you're a user of Guard, checkout my Guard plugin that polls the Podfile for changes.