Skip to content

Instantly share code, notes, and snippets.

View ckrailo's full-sized avatar

Christopher Krailo ckrailo

View GitHub Profile
@ckrailo
ckrailo / 0_reuse_code.js
Created October 30, 2015 09:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ckrailo
ckrailo / pr.md
Created March 25, 2013 17:51 — forked from piscisaureus/pr.md

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: