Skip to content

Instantly share code, notes, and snippets.

@uchidev
Created November 10, 2015 15:13
Show Gist options
  • Save uchidev/113944f0ab8470111a25 to your computer and use it in GitHub Desktop.
Save uchidev/113944f0ab8470111a25 to your computer and use it in GitHub Desktop.
[user]
name =
email =
[core]
pager = less
excludesfile = ~/.tool/gitignore
[push]
default = nothing
[alias]
co = checkout
st = status -s
stl = status
sb = show-branch --sha1-name
lo = log --oneline --graph
los = log --stat --graph
logg = log --stat --pretty=format:'%Cblue%h %Cgreen%ar %Cred%an %Creset%s %Cred%d'
loggr = log --graph --date-order --pretty=format:'%Cblue%h %Cgreen%ci %Cred%an %Cblue%m %Creset%s %Cred%d'
logl = log --graph --branches --remotes --pretty=format:'%C(black white)%h%Creset%C(blue bold)%d%Creset %s\n%-b'
loglo = log --graph --branches --remotes --pretty=format:'%C(black white)%h%Creset%C(blue bold)%d%Creset %s'
logl1 = log --graph --pretty=format:'%C(black white)%h%Creset%C(green bold) %cd / %ce%C(blue bold)%d\n%s\n%-b'
logl2 = log --graph --branches --remotes --pretty=format:'%C(black white)%h%Creset%C(green bold) %cd / %ce%C(blue bold)%d\n%s\n%-b'
logl3 = log --graph --branches --remotes --pretty=format:'%C(black white)%h%Creset%C(green bold) %cd%C(blue bold)%d %Creset%s\n%-b'
stst = !git rev-parse `git rev-parse --abbrev-ref HEAD`
[color "diff"]
new = black
old = black
frag = blue white bold
func = blue bold
meta = blue white
whitespace = white black
commit = black white
[color]
diff = auto
status = no
branch = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment