Here's a totally sweet command line script that does a lot of common Github 
actions for you:

    https://hub.github.com/

On OSX, you can install via Homebrew or ports.  There's precompiled binaries 
for Linux.

One common OMPI use case:

------
$ cd path_to_my_ompi_release_clone
$ hub checkout https://github.com/open-mpi/ompi-release/pull/173

--> Note: that's just the URL of the PR (copied from my web browser)

Updating rhc54
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (6/6), done.
>From git://github.com/rhc54/ompi-release
* [new branch]      cmr/george -> rhc54/cmr/george
Branch rhc54-cmr/george set up to track remote branch cmr/george from rhc54.
Switched to a new branch 'rhc54-cmr/george'
-----

And now I'm on a local branch representing that PR.  I can 
autogen/build/install/MTT/etc.  And then "git checkout v1.8" to go back to the 
stock v1.8 branch when I'm done.

Sweet!

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to