I\'m having trouble finding out which tag is currently checked out.
When I do:
git checkout tag1 git branch
I can\'t seem to find
git describe is a porcelain command, which you should avoid:
git describe
http://git-blame.blogspot.com/2013/06/checking-current-branch-programatically.html
Instead, I used:
git name-rev --tags --name-only $(git rev-parse HEAD)