Joined January 2014
·

Dylan Grafmyre

Bellingham WA
·
·

For https connections, add an S to the HTTP in urllib2.HTTPHandler:

urllib2.HTTPSHandler(...

I ended up using your instructions but with an inline PS1 Prompt based on Linux Mint's default:

PS1="\[\e[1;32m\]\u@\h\[\e[1;34m\] \w\[\e[0m\]\$(__git_ps1)\[\e[1;34m\] \$\[\e[0m\] "

Confirmed working as old as git version 1.7.9.5.

This rocks!

How safe is this script to operate? These actions are the kind of thing I would do to a new clone and force push history back upstream when I felt comfortable with the changes.

Now what would be really cool is a cross-platform solution to do this on any platform without requiring users lift a finger, God damn Windows for shipping with next to nothing useful.

So there is no way to do this without using hub :\ (or otherwise manually performing an api request)

Achievements
93 Karma
1,881 Total ProTip Views