• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1git_rev ()
2{
3    d=`date +%Y%m%d`
4    c=`git rev-list --full-history --all --abbrev-commit | wc -l | sed -e 's/^ *//'`
5    h=`git rev-list --full-history --all --abbrev-commit | head -1`
6    echo ${c}:${h}:${d}
7}
8git_rev
9