From: Stefan Beller Date: Fri, 13 Mar 2015 17:00:15 GMT Subject: Re: Is it possible get the tag name of working copy in Git? Message-ID: In-Reply-To: <5502AF86.9050803@web.de> On Fri, Mar 13, 2015 at 2:36 AM, Torsten Bögershausen wrote: > On 03/13/2015 08:08 AM, chen chang wrote: >> >> I want to use make file auto generate the revision number of working >> copy from the tag name in git. > Maybe you're looking for git describe? http://git-scm.com/docs/git-describe