Re: Best practice question
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Jun 19, 2008, 16:39 UTC
- Message-ID
- <32541b130806190939t2a26c6f7j987eb1c679d53b3a@mail.gmail.com>
- In-Reply-To
- <485A6E03.6090509@et.gatech.edu>
On 6/19/08, D. Stuart Freeman <stuart.freeman@et.gatech.edu> wrote:
> My project has an "about" page that lists the version. I understand why > git doesn't do keyword expansion, but I'm wondering if there's a > recommended best practice for keeping that up to date.
If you compile git yourself and run "git --version", it contains the current version number. You may want to do it the same way.
See also the "git-describe" command.
Have fun,
Avery