Skip to content

Instantly share code, notes, and snippets.

@shadyvb
Created October 2, 2013 12:01
Show Gist options
  • Save shadyvb/6792634 to your computer and use it in GitHub Desktop.
Save shadyvb/6792634 to your computer and use it in GitHub Desktop.
Default to pull-request to develop branch instead of master on github
// ==UserScript==
// @name Compare pull-requests against develop branch instead of master branch
// @namespace http://sharaf.me/
// @version 0.1
// @match https://github.com/*/compare/issue*
// @copyright 2013+, Shady Sharaf
// @run-at document-start
// ==/UserScript==
window.location.href = window.location.href.replace('compare/issue', 'compare/develop...issue')
@westonruter
Copy link

That would be awesome! Better yet would be to use localStorage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment