Git Bash Prompts And Tab Completion

Last update on: 5 December 2012

Get – Git Completion Bash

Put in ~/.bashrc
source ~/.git-completion.sh
export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '

1 comment

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.