Przeglądaj źródła

~/.bin/git-ln: A `git log` bealike that reverse numbers the commits.

Sort of similar to the output of another similar tool for another VCS
from the dark ages (\*cough\* SVN \*cough\*).
Lucas Stadler 13 lat temu
rodzic
commit
be3f128b40
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      .bin/git-ln

+ 8 - 0
.bin/git-ln

@ -0,0 +1,8 @@
1
#!/bin/sh
2
3
# Show a numbered git log (latest commit gets highest number).
4
5
git log --all > ~/.git-ln.tmp
6
sed = ~/.git-ln.tmp | sed -n 'p;n' | tac > ~/.git-ln.tmp2
7
git log $@ > ~/.git-ln.tmp
8
paste ~/.git-ln.tmp{2,} | less