Skip to content

Instantly share code, notes, and snippets.

@dgoade
Created September 2, 2017 19:35
Show Gist options
  • Save dgoade/aae25256798c30ec9ea95c6182b5ebf1 to your computer and use it in GitHub Desktop.
Save dgoade/aae25256798c30ec9ea95c6182b5ebf1 to your computer and use it in GitHub Desktop.
# cool git aliases from Larry Defauw
[user]
name = David Goade
email = dgoade@gmail.com
[core]
autocrlf = false
[alias]
co = checkout
ci = commit
st = status
br = branch
la = log --graph --all --color --decorate --oneline
lo = log --graph --all --color --decorate --oneline
lob = log --graph --color --decorate --oneline
ll = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset'
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
update = !git pull && git submodule update --init --recursive
[push]
default = simple
[credential]
helper = wincred
[diff]
# external = git-meld
[color]
diff = auto
ui = auto
[color "diff"]
whitespace = red reverse
[merge]
tool = meld
[merge "ours"]
driver = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment