Git · Middle · Question 41 of 75
What does git describe output, like v1.4.0-12-g3f2a9c1?
- ✓Correct answer: The nearest tag, commits since it, and the short hash
- 2The branch name, author and commit date
- 3The version from
package.jsonplus the hash
Explanation
Builds often embed it as a version: here 12 commits after v1.4.0, at commit 3f2a9c1 (the g stands for git).