Skip to content

Instantly share code, notes, and snippets.

@qdx
Last active December 28, 2015 20:08
Show Gist options
  • Save qdx/7554766 to your computer and use it in GitHub Desktop.
Save qdx/7554766 to your computer and use it in GitHub Desktop.
[user]
name = qdx
email = qdxzzz@gmail.com
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = !"git lg1"
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment