mathiasbynens/dotfiles — pull request #155 by eins78 (2012-11-24 01:50:24+00:00)
Title: .bash_prompt: better git functions #2

Duplicate, original closed itself: :worried:

BTW: if you want to use git outside of your prompt, you can [just source the functions provided by git itself](https://github.com/git/git/blob/master/Documentation/git-sh-setup.txt)
Here the relevant functions are extracted because it would be overkill to source it all.