Skip to content

Instantly share code, notes, and snippets.

@bobguo
Last active December 27, 2015 01:19
Show Gist options
  • Save bobguo/7243598 to your computer and use it in GitHub Desktop.
Save bobguo/7243598 to your computer and use it in GitHub Desktop.
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\u@\h:\w$(__git_ps1)$ '
git config --global color.branch auto
git config --global color.diff auto
git config --global color.status auto
git config --global color.ui auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment