Git Bash Prompts And Tab Completion

Get – Git Completion Bash

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

One comment

Leave a Reply to Felicia IreneCancel Reply

Your email address will not be published. Required fields are marked *

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