bash-git-prompt
bash-git-prompt copied to clipboard
Add GIT_PROMPT_SYMBOLS_PRETAG and GIT_PROMPT_DETACHED_HEAD
GIT_PROMPT_SYMBOLS_PRETAG - prefix symbol for detached head state pointing to a tag (similar to PREHASH) GIT_PROMPT_DETACHED_HEAD - variable tag/hash when in a detached state.
Note: I only modified gitstatus.sh. Does gitstatus.py need to be kept in sync?
I'll happily accept any feedback on these changes!