Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is git –version not reporting the “full” version number?

git version
0
Posted

Why is git –version not reporting the “full” version number?

0

There is a bit of a chicken and egg problem involved. The build procedure wants to have an already installed git to figure out the “full” version number. If you are bootstrapping, make clean and rebuild after you install git once would give you a git binary that knows what version it is. GIT-VERSION-GEN script show current (used) git version, git –version shows git version used at the time git was build.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123