Explorar el Código

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

I use this pretty often to find out the last few releases.
Lu Stadler %!s(int64=7) %!d(string=hace) años
padre
commit
2caed77872
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      .gitconfig

+ 1 - 0
.gitconfig

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