<div dir="ltr">I've mentioned this before, but with some of our new code review guidelines, I figured it's good to reiterate.  Github has a CLI tool that helps with doing git-related things with github.  It's called hub. It's written in Go, so installing it is as easy as go get <a href="http://github.com/github/hub" target="_blank">github.com/github/hub</a><div><br></div><div>Github recommends making an alias to have hub replace git, since it forwards everything to git that it doesn't understand.  Honestly, I don't really see any benefit to that.  I prefer to understand what git is doing versus what hub is doing.</div><div><br></div><div>It can do a whole bunch of stuff, but there are two things I use it for the most - checking out PRs and making PRs.</div><div><br></div><div>Since we're supposed to be doing manual testing on people's PRs when we review them, we need a way to do that.  With hub it's one command:</div><div><br></div><div>hub checkout <url of PR></div><div><br></div><div>so, for example:</div><div><br></div><div>hub checkout <a href="https://github.com/juju/juju/pull/5915" target="_blank">https://github.com/juju/juju/pull/5915</a></div><div><br></div><div>Bam, your local branch is set to a copy of the PR (don't forget to run godeps).</div><div><br></div><div>To make a PR from the CLI using hub, make sure the repo you want to PR against is the git remote called origin, then you can make a PR with your current branch by just doing </div><div><br></div><div>hub pull-request </div><div><br></div><div>This will open an editor to write the PR message, or you can use -m just like with git commit.  </div><div><br></div><div>-Nate</div></div>