Pull a branch of a “podified” project on github

I would like to pull a branch of a github project instead of the master. Somebody know how to do it without being obliged to fork the master and merge the branch with the master on my own ?

pod ‘MagicalRecord’, :git => ‘https://github.com/nhenin/MagicalRecord.git’

2 Solutions collect form web for “Pull a branch of a “podified” project on github”

Take a look at the docs on the Wiki, it has some extra options for you such as picking a specific commit.

This pull request made this possible. Documentation does not seem to be up-to-date though.

Here is how to do it:

pod 'JSFooBar', :git => 'https://github.com/joelso/JSFooBar.git', :branch => 'develop'
Git Baby is a git and github fan, let's start git clone.