Skip to content

Instantly share code, notes, and snippets.

@karl82
Last active September 22, 2016 20:19
Show Gist options
  • Save karl82/603b8b6481ea253ff1ff to your computer and use it in GitHub Desktop.
Save karl82/603b8b6481ea253ff1ff to your computer and use it in GitHub Desktop.
.gitconfig
[core]
editor = vim
autocrlf = input
[color]
status = auto
[merge]
tool = vimdiff
[push]
default = simple
[alias]
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)>
slg = log --graph --format='format:%C(yellow)%h%C(reset) %s %C(blue)%ae%C(reset) %C(magenta)%ar%C(r>
undo = reset --hard
fap = "fetch --all --prune"
ria = "rebase --interactive --autosquash"
lol = "log --oneline"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment