On 8/27/14, 9:47 PM, Andrew Edwards wrote: > Anyone here knows how to consistently obtain the previous tag on git? Are tags always coming in order? Then it's easy: git tag | tail -n2 | head -n1 Andrei