Skip to content

Instantly share code, notes, and snippets.

@guumaster
Created September 19, 2014 09:28
Show Gist options
  • Save guumaster/e2b60854b6cd86d1b04e to your computer and use it in GitHub Desktop.
Save guumaster/e2b60854b6cd86d1b04e to your computer and use it in GitHub Desktop.
My global gitconfig
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[user]
name = <YOUR_USER_NAME>
email = <YOUR_EMAIL>
[core]
excludesfile = /home/<YOUR_USER_NAME>/.gitignore_global
editor = vim
[alias]
st = status
co = checkout
br = branch
up = rebase
ci = commit
unstage = reset HEAD --
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
review = !sh -c 'post-review --guess-summary --guess-description'
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[merge]
tool = meld
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment