Skip to content

Instantly share code, notes, and snippets.

@timiles
Forked from deveshjeshani/setup-git-configs.ps1
Last active September 22, 2016 09:08
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 timiles/825e53cbd82045f6da96503a531de144 to your computer and use it in GitHub Desktop.
Save timiles/825e53cbd82045f6da96503a531de144 to your computer and use it in GitHub Desktop.
git config settings
git config --global remote.origin.prune true
git config --global alias.lg "log --oneline --graph --decorate"
git config --global color.ui.auto true
git config --global color.status.added "green normal bold"
git config --global color.status.changed "red normal bold"
git config --global color.status.updated "green normal bold"
git config --global color.status.untracked "yellow normal bold"
git config --global color.branch.remote "red normal bold"
git config --global color.branch.local "magenta normal bold"
git config --global color.diff.old "red bold"
git config --global color.diff.new "green bold"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment