瀏覽代碼

Allow limiting history in commmand

Alois Mahdal 10 年之前
父節點
當前提交
36893c7fa6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      dotfiles/gittum/before.gitconfig

+ 2
- 2
dotfiles/gittum/before.gitconfig 查看文件

17
   com = checkout master
17
   com = checkout master
18
   cp = cherry-pick
18
   cp = cherry-pick
19
   dc = !clear && git diff --cached
19
   dc = !clear && git diff --cached
20
-  gr = log --graph --full-history --all --color\
20
+  gr = log --graph --full-history --color\
21
        --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
21
        --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
22
-  grr = log --graph --full-history --all --color\
22
+  grr = log --graph --full-history --color\
23
         --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
23
         --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
24
         --simplify-by-decoration
24
         --simplify-by-decoration
25
   k = !sh -c \
25
   k = !sh -c \