GitTools/GitVersion
From git log to SemVer in no time observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 23
- age_days: 4754
- days_rel: 54
- days_push: 8
- n_releases_24m: 16
Adoption not part of the score
3145 stars · 660 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
GitVersion is a tool that calculates a Semantic Version (SemVer) number for a commit by analyzing a repository's Git history and branching strategy. It can be consumed as a CLI, .NET tool, MSBuild task, NuGet library, Docker container, or CI pipeline task to stamp versions on builds and artifacts.
Use cases
- generate semantic version numbers from git history
- version nuget packages automatically in CI
- calculate semver from gitflow or github flow branches
- patch assemblyinfo.cs with version numbers during build
- integrate versioning into github actions or azure devops pipelines
- stamp build artifacts with version numbers on a build server
- run versioning in docker containers in ci pipelines
When to choose
- you need automatic SemVer generation driven by git history and branching conventions
- you build .NET projects and want assembly version patching via MSBuild
- you use CI servers like GitHub Actions, Azure DevOps, GitLab CI, or Jenkins and need version variables in the pipeline
- you follow GitFlow or GitHub Flow and want pre-release versions for PRs and release branches
When to avoid
- your project does not use git or does not follow any recognizable branching strategy
- you need a fully supported stable library API - the NuGet library option is explicitly unsupported and may break between releases
- you use a simple fixed version number scheme unrelated to git history
Facets
cli-tool · maturity stable
build-tool developer-tools ci-cd version-control developer-tools version-control cross-platform cli dotnet windows semver versioning git dotnet msbuild continuous-integration assembly-versioning devops docker linux macos
10 sources
- readme: https://github.com/GitTools/GitVersion · fetched 2026-08-28 · 3dfbacadf517
- homepage: https://gitversion.net/docs/ · fetched 2026-08-29 · c96988970977
- site_page: https://gitversion.net/5.12.0/docs · fetched 2026-08-29 · 345bf61f20f6
- site_page: https://gitversion.net/docs/usage · fetched 2026-08-29 · 1e8da2ab167a
- site_page: https://gitversion.net/docs/usage/ci · fetched 2026-08-29 · 1225cd805539
- site_page: https://gitversion.net/docs/usage/cli · fetched 2026-08-29 · e5dfd91e55fa
- site_page: https://gitversion.net/docs/usage/cli/installation · fetched 2026-08-29 · d52b0a3ef3e1
- site_page: https://gitversion.net/docs/usage/cli/arguments · fetched 2026-08-29 · 319ab712b6fd
- site_page: https://gitversion.net/docs/usage/cli/output · fetched 2026-08-29 · 5e42593fe3c8
- site_page: https://gitversion.net/docs/usage/cli/assembly-patch · fetched 2026-08-29 · b5dcb124e4d9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GitTools/GitVersion | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="GitTools/GitVersion")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem