Guest User

Untitled

a guest
Jan 17th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. # Show branch of current repository
  2. source /usr/share/git-core/contrib/completion/git-prompt.sh
  3.  
  4. export GIT_PS1_SHOWDIRTYSTATE=true
  5. export GIT_PS1_SHOWUNTRACKEDFILES=true
  6. export GIT_PS1_SHOWUPSTREAM=true
  7. export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
Add Comment
Please, Sign In to add comment