浏览代码

git log alias

master
Robin Thoni 9 年前
父节点
当前提交
e7474eec1e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      git/gitconfig

+ 1
- 0
git/gitconfig 查看文件

5
 	ci = commit
5
 	ci = commit
6
 	p = push
6
 	p = push
7
         lg = log --decorate --oneline
7
         lg = log --decorate --oneline
8
+  lgg = "! (git log --graph --pretty=format:'%Cred%h%Creset - %C(bold blue)<%an>%C(bold yellow)%d%Creset %s %C(bold green)(%<(5,trunc)%ad%x08 %<(18,trunc)%ai%x08 ~ %ar%x08)%Creset' --abbrev-commit; echo) | sed 's/ ago\\x08//g;s/..\\x08//g'"
8
 [color]
9
 [color]
9
 	status = auto
10
 	status = auto
10
 [push]
11
 [push]

正在加载...
取消
保存