magicmonty/bash-git-prompt — pull request #15 by JackSullivan (2013-07-27 22:31:51+00:00)
Title: Added support for tags

If you are on a commit hash that has a tag, it will display the tag's name instead of the commit hash on the prompt.