瀏覽代碼

~/.gitconfig: Display TODOs and FIXMEs when running `git st`

Lu Stadler 5 年之前
父節點
當前提交
40c9cc212a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .gitconfig

+ 1 - 1
.gitconfig

@ -6,7 +6,7 @@
6 6
[merge]
7 7
	conflictstyle = diff3
8 8
[alias]
9
	st = status --short --branch .
9
	st = "!st() { git status --short --branch . && (git grep -E --color 'TODO|FIXME' -- :^Makefile || true) }; st"
10 10
	d  = diff .
11 11
	l10 = log -n10
12 12
	lol = log --pretty=oneline --abbrev-commit --graph --decorate