Software revision numbers with ‘git tag’ and ‘git describe’
Run these commands to tag with a software revision number and push to remote repo
- git tag -a -m'Release to Customer' 1.2.3
- git push --tags origin master
Don’t forget:
- the –tags when pushing the to the remote git repository
- the -a switch when doing ‘git tag’