浏览代码

New Git alias: grr, like gr but much smaller--ignores linear parts

Alois Mahdal 10 年前
父节点
当前提交
a4ecb15727
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      dotfiles/git-universe/before.gitconfig

+ 3
- 0
dotfiles/git-universe/before.gitconfig 查看文件

@@ -13,6 +13,9 @@
13 13
   dc = !clear && git diff --cached
14 14
   gr = log --graph --full-history --all --color\
15 15
        --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
16
+  grr = log --graph --full-history --all --color\
17
+        --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
18
+        --simplify-by-decoration
16 19
   rb = rebase
17 20
   rbi = rebase --interactive
18 21
   rmv = remote --verbose