Last active
December 11, 2015 08:58
-
-
Save michaelhood/4576901 to your computer and use it in GitHub Desktop.
make 'clone in mac' links on github use git:// not https://
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(doc) { | |
$("#repo_details div.url-box ul.native-clones li a span.mini-icon-apple"). | |
parent(). | |
attr('href', function(i,v) { return v.replace(/https:\/\//, "git://"); }); | |
}(document)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment