Skip to content

Instantly share code, notes, and snippets.

@sydneyitguy
Last active September 13, 2016 09:10
Show Gist options
  • Save sydneyitguy/2944914 to your computer and use it in GitHub Desktop.
Save sydneyitguy/2944914 to your computer and use it in GitHub Desktop.
Git config file: .gitconfig
[user]
name = Sebastian Kim
email = email@gmail.com
[color]
status = auto
branch = auto
diff = auto
ui = auto
[color "diff"]
meta = yellow bold
ifrag = magenta bold
whitespace = red reverse
[alias]
s = status
b = branch
co = commit
f = "!git ls-files | grep -i"
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
count = rev-list --count HEAD
[branch "master"]
remote = origin
merge = master
[core]
ignorecase = false
[branch]
autosetuprebase = always
[push]
default = simple
[remote "origin"]
push = HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment