Skip to content

Instantly share code, notes, and snippets.

@msr1k
Last active April 17, 2019 20:50
Show Gist options
  • Save msr1k/a05aaded23233d6b0fae287d039bdece to your computer and use it in GitHub Desktop.
Save msr1k/a05aaded23233d6b0fae287d039bdece to your computer and use it in GitHub Desktop.
My .gitconfig
[alias]
graph = log --graph --date=format:\"%Y-%m-%d %H:%M\" --pretty=\"format:%C(yellow)%h %C(cyan)%ad %C(green)%an%Creset%C(red)%d %Creset%s\"
g = log --graph --date=format:\"%Y-%m-%d %H:%M\" --pretty=\"format:%C(yellow)%h %C(cyan)%ad %C(green)%an%Creset%C(red)%d %Creset%s\"
ga = log --graph --date=format:\"%Y-%m-%d %H:%M\" --pretty=\"format:%C(yellow)%h %C(cyan)%ad %C(green)%an%Creset%C(red)%d %Creset%s\" --all
d = diff
dc = diff --cached
dn = diff --name-only
dns = diff --name-status
dw = diff --color-words
dcw = diff --cached --color-words
s = status
su = status -uno
[diff]
indentHeuristic = true
algorithm = histogram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment