Skip to content

Instantly share code, notes, and snippets.

@xli
Created January 11, 2012 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xli/1592604 to your computer and use it in GitHub Desktop.
Save xli/1592604 to your computer and use it in GitHub Desktop.
git repo info in termial for pair machine
PS1='\u@\h \W$(__git_ps1 "(%s)[$(git config --get user.name)]")\$ '
PS1='\h \W$(__git_ps1 "($(git config --get user.name)@%s)")\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment