Re: Retrieve version-string on shallow clone
- From
Giuseppe Crinò <giuscri@gmail.com>
- Date
- Sep 2, 2019, 14:08 UTC
- Message-ID
- <20190902140854.GA3806@instance-1.europe-west6-a.c.vaulted-journal-250706.internal>
> I'd figure one of these options would be to clone everything from tag > v2.0.0 onward, but if so how would I do that? > As another option I was thinking; maybe it's possible to do git describe > --tags on the remote repo?
To my understanding both questions are solved by
* https://stackoverflow.com/a/47720414/2219670 * https://stackoverflow.com/a/12704727/2219670
It seems to me that's the expected behaviour of git
-Giuseppe