From 68ae5a04e141f57017eb9653607077673924af64 Mon Sep 17 00:00:00 2001 From: yushyin Date: Sun, 28 Apr 2019 17:36:42 +0200 Subject: Git: Update log aliases --- git/config | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/git/config b/git/config index 339ebe7..069f4f9 100644 --- a/git/config +++ b/git/config @@ -1,8 +1,14 @@ +[pretty] + log = %C(yellow)%h%C(reset) %C(normal)%s%C(reset) %C(dim white)%an%C(reset) %C(dim blue)(%ar)%C(reset) %C(auto)%d%C(reset) + oldlog = %C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset) + [alias] - l = log --color --graph --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit - lg = log --color --graph -n 15 --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit - lf = log --color --graph --name-status --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit - ll = log --color --graph --all --format=format:'%C(blue)%h%C(reset) - %C(white)(%ar)%C(reset) %s %C(red)%d%C(reset) %C(bold blue)— %an%C(reset)' --abbrev-commit + lg = log --graph --abbrev-commit --color --pretty=log + + l = lg -n 15 + ll = lg --all + lf = lg --name-status + lp = lg --first-parent s = status -s ss = status -- cgit v1.2.3-24-g4f1b