瀏覽代碼

git log alias

master
Robin Thoni 8 年之前
父節點
當前提交
e7474eec1e
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      git/gitconfig

+ 1
- 0
git/gitconfig 查看文件

@@ -5,6 +5,7 @@
5 5
 	ci = commit
6 6
 	p = push
7 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 9
 [color]
9 10
 	status = auto
10 11
 [push]

Loading…
取消
儲存