Hi, Another cool feature that I use is to create a branch on a PR to test/modify it locally:
hub checkout https://github.com/Theano/Theano/pull/1013/ This create a new branch with this name: github_user_name_of_creator_of_PR-branch_of_the_PR HTH Fred On Wed, Feb 13, 2013 at 3:19 PM, Aaron Meurer <[email protected]> wrote: > I thought some people here might be interested in this. The Hub > project provides a nice extension to git for GitHub. It's at > https://github.com/defunkt/hub. > > For example, normally to get someone's code, you have to find their > clone url, add them as a remote, then fetch them. But with hub, you > can just do > > hub fetch asmeurer > > and it will automatically do > > git remote add asmeurer git://github.com/asmeurer/sympy > git fetch asmeurer > > You can also add > > # Alias git to hub > eval "$(hub alias -s)" > > # Enable bash tab completion > source /Path/To/hub/etc/hub.bash_completion.sh > > to your bash config file, and it will alias hub to git, so that you > can just type > > git remote add asmeurer > > and it will just work. > > You can also do neat stuff like reference pull requests by number, > create pull requests from the command line, and even turn a GitHub > issue into a pull request. > > Aaron Meurer > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
