Joined January 2014
·
Posted to
Show current Git branch name in bash PS1
over 1 year
ago
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\] "
Posted to
Come back to the previous branch in git
over 1 year
ago
Confirmed working as old as git version 1.7.9.5.
This rocks!
Posted to
Remove (prune) files from your entire Git history.
over 1 year
ago
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.
Posted to
Turn any working directory into an instant file server with python
over 1 year
ago
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.
Posted to
Turning an existing GitHub Issue into a Pull Request
over 1 year
ago
So there is no way to do this without using hub :\ (or otherwise manually performing an api request)
Achievements
93 Karma
1,896 Total ProTip Views

Lab
Have at least one original repo where C# is the dominant language

Epidexipteryx
Have at least one original repo where C++ is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Python 3
Have at least three original repos where Python is the dominant language

Charity
Fork and commit to someone's open source project in need

Python
Would you expect anything less? Have at least one original repo where Python is the dominant language

T-Rex
Have at least one original repo where C is the dominant language
For https connections, add an S to the HTTP in
urllib2.HTTPHandler
:urllib2.HTTPSHandler(...