Ver Código Fonte

~/.gitconfig: Add `git recent-tags` command/shortcut

I use this pretty often to find out the last few releases.
Lu Stadler 7 anos atrás
pai
commit
2caed77872
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      .gitconfig

+ 1 - 0
.gitconfig

12
	lol = log --pretty=oneline --abbrev-commit --graph --decorate
12
	lol = log --pretty=oneline --abbrev-commit --graph --decorate
13
	ba = branch -a
13
	ba = branch -a
14
	praise = blame
14
	praise = blame
15
	recent-tags = ! sh -c 'git tag --sort=-version:refname | head -n5'
15
[format]
16
[format]
16
	pretty = %C(magenta)%h%Creset %Cgreen[%cr]%Creset (%an) %s
17
	pretty = %C(magenta)%h%Creset %Cgreen[%cr]%Creset (%an) %s
17
[color]
18
[color]