Просмотр исходного кода

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

Lu Stadler лет назад: 5
Родитель
Сommit
40c9cc212a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .gitconfig

+ 1 - 1
.gitconfig

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