diff options
author | yushyin <yushyin@saga> | 2019-04-28 17:36:42 +0200 |
---|---|---|
committer | yushyin <yushyin@saga> | 2019-04-28 17:36:42 +0200 |
commit | 68ae5a04e141f57017eb9653607077673924af64 (patch) | |
tree | f99548163b2d58ed334820ad8bbdb07433bf71a5 | |
parent | d432cf106f210935c64a46aa5f24007e45852adc (diff) | |
download | dotfiles-68ae5a04e141f57017eb9653607077673924af64.tar.gz dotfiles-68ae5a04e141f57017eb9653607077673924af64.tar.xz |
Git: Update log aliases
-rw-r--r-- | git/config | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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 |