Re: git describe is failing
- From
- Mikael Magnusson <mikachu@gmail.com>
- Date
- Oct 22, 2009, 14:59 UTC
- Message-ID
- <237967ef0910220759r509775e1oc2e20af90800198c@mail.gmail.com>
- In-Reply-To
- <76c5b8580910220747w709d2b41s4f7b121e421e843c@mail.gmail.com>
2009/10/22 Eugene Sajine <euguess@gmail.com>:
Show 18 quoted lines
> Hi, > > I have a test repo which I'm playing with. It has about 15 commits and > one branch only (master) and couple of tags. Somehow it got to a state > when > > $ git describe > > gives: > > fatal: cannot describe 'SHA-1' > > The command is working ok with my other repo. It doesn't seem that the > test repo is corrupted. I can commit, push and pull, see the history > with gitk... How can I check or repair it? > > Thanks, > Eugene
Your tags are probably not annotated (lightweight tags), use git describe --tags.
-- Mikael Magnusson