Skip to content

Instantly share code, notes, and snippets.

@Agenric
Last active August 22, 2017 17:45
Show Gist options
  • Save Agenric/beccbdf4c167be0c48e5338ec47833d6 to your computer and use it in GitHub Desktop.
Save Agenric/beccbdf4c167be0c48e5338ec47833d6 to your computer and use it in GitHub Desktop.
Git
[user]
name = Agenric
email = Agenric@foxmail.com
[alias]
st = status
ck = checkout
cmm = commit -m
lg1 = log --graph --abbrev-commit --decorate --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(auto)%d%C(reset)'
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg3 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment