Skip to content

Instantly share code, notes, and snippets.

@sadegh
Last active April 7, 2018 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sadegh/609c00d09c3c090b080acd2cf0a99afe to your computer and use it in GitHub Desktop.
Save sadegh/609c00d09c3c090b080acd2cf0a99afe to your computer and use it in GitHub Desktop.
[alias]
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[diff]
colorMoved = dimmed_zebra
# makes git diff recognize and de-emphasise moved code instead of showing it as deleted+added. git 2.17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment