Skip to content

Instantly share code, notes, and snippets.

View ggozad's full-sized avatar

Yiorgis Gozadinos ggozad

View GitHub Profile
### Keybase proof
I hereby claim:
* I am ggozad on github.
* I am ggozad (https://keybase.io/ggozad) on keybase.
* I have a public key whose fingerprint is 4160 8B7A 45A8 5CFA C24C DC0A 575B 4CD1 68C8 7C55
To claim this, I am signing this object:
@ggozad
ggozad / pr.md
Created October 29, 2012 14:47 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: