You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
git_rev () |
|
{ |
|
d=`date +%Y%m%d` |
|
c=`git rev-list --full-history --all --abbrev-commit | wc -l | sed -e 's/^ *//'` |
|
h=`git rev-list --full-history --all --abbrev-commit | head -1` |
|
echo ${c}:${h}:${d} |
|
} |
|
git_rev
|
|
|