Re: Is it possible get the tag name of working copy in Git?
- From
Stefan Beller <sbeller@google.com>
- Date
- Mar 13, 2015, 17:00 UTC
- Message-ID
- <CAGZ79kaeWkVD-tCVMRYBxgG80_PHOeHKeSdpodAPqgpdiARa7Q@mail.gmail.com>
- In-Reply-To
- <5502AF86.9050803@web.de>
On Fri, Mar 13, 2015 at 2:36 AM, Torsten Bögershausen <tboegi@web.de> wrote:
Show 5 quoted lines
> 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