GitInfo 2.1.2

There is a newer version of this package available.
See the version list below for details.
Install-Package GitInfo -Version 2.1.2
dotnet add package GitInfo --version 2.1.2
<PackageReference Include="GitInfo" Version="2.1.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GitInfo --version 2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GitInfo, 2.1.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GitInfo as a Cake Addin
#addin nuget:?package=GitInfo&version=2.1.2

// Install GitInfo as a Cake Tool
#tool nuget:?package=GitInfo&version=2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Exposes the following information for use directly from MSBuild, C#, F# and VB:
 $(GitBranch), ThisAssembly.Git.Branch
 $(GitCommit), ThisAssembly.Git.Commit
 $(GitSha), ThisAssembly.Git.Sha
 $(GitBaseVersionMajor), ThisAssembly.Git.BaseVersion.Major
 $(GitBaseVersionMinor), ThisAssembly.Git.BaseVersion.Minor
 $(GitBaseVersionPatch), ThisAssembly.Git.BaseVersion.Patch
 $(GitCommits), ThisAssembly.Git.Commits
 $(GitTag), ThisAssembly.Git.Tag
 $(GitBaseTag), ThisAssembly.Git.BaseTag
 $(GitSemVerMajor), ThisAssembly.Git.SemVer.Major
 $(GitSemVerMinor), ThisAssembly.Git.SemVer.Minor
 $(GitSemVerPatch), ThisAssembly.Git.SemVer.Patch
 $(GitSemVerLabel), ThisAssembly.Git.SemVer.Label
 $(GitSemVerDashLabel), ThisAssembly.Git.SemVer.DashLabel
 $(GitSemVerSource), ThisAssembly.Git.SemVer.Source
 $(GitIsDirty), ThisAssembly.Git.IsDirty

The generated code contains only constants, so it can be used to construct your own assembly/file version attributes:

[assembly: AssemblyVersion(ThisAssembly.Git.SemVer.Major + "." + ThisAssembly.Git.SemVer.Minor + ".0")]
[assembly: AssemblyInformationalVersion(ThisAssembly.Git.SemVer.Major + "." +
ThisAssembly.Git.SemVer.Minor + "." + ThisAssembly.Git.SemVer.Patch + "-" +
ThisAssembly.Git.Branch + "+" + ThisAssembly.Git.Commit)]

This package has no dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on GitInfo:

Package Downloads
Aqovia.PactProducerVerifier.AspNetCore

Pact Producer Test for aspnet core sites

Zooqle.Net

A .NET Standard library for searching torrents on Zooqle.

BizStream.NET.Sdk

Core build and release configuration for packages and libraries distributed by BizStream.

Xamarin.VisualStudio.AndroidX.Migration

This package provides a Roslyn based migrator to be used in Visual Studio and Visual Studio for Mac.

GitHub repositories (22)

Showing the top 5 popular GitHub repositories that depend on GitInfo:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
gitextensions/gitextensions
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
xamarin/Xamarin.Forms
Xamarin.Forms Official Home
EventStore/EventStore
The stream database optimised for event sourcing
moq/moq4
Repo for managing Moq 4.x
Version Downloads Last updated
2.2.0 71,941 8/26/2021
2.1.2 437,227 9/24/2020
2.1.1 414 9/24/2020
2.0.40 895 9/24/2020
2.0.39 1,101 9/23/2020
2.0.38 1,032 9/21/2020
2.0.37 700 9/20/2020
2.0.36 346 9/20/2020
2.0.35 360 9/20/2020
2.0.34 5,052 9/11/2020
2.0.33 9,109 8/28/2020
2.0.32 276 8/28/2020
2.0.31 51,603 8/3/2020
2.0.30 6,690 7/27/2020
2.0.29 4,958 7/22/2020
2.0.28 302 7/22/2020
2.0.27 285 7/22/2020
2.0.26 302,469 12/16/2019
2.0.25 1,138 12/13/2019
2.0.21 76,529 10/15/2019
2.0.20 493,281 11/13/2018
2.0.19 9,282 11/2/2018
2.0.18 92,535 9/26/2018
2.0.17 12,669 9/10/2018
2.0.16 612 9/10/2018
2.0.15 18,862 8/14/2018
2.0.14 1,745 8/3/2018
2.0.11 328,330 6/1/2018
2.0.10 31,853 2/21/2018
2.0.9 934 2/20/2018
2.0.8 12,347 11/30/2017
2.0.7 6,832 11/30/2017
2.0.6 16,278 10/22/2017
2.0.5 698 10/19/2017
2.0.3 6,703 10/18/2017
2.0.2 2,696 9/29/2017
2.0.1 87,161 8/24/2017
2.0.0 3,212 8/16/2017
1.1.72 1,524 8/7/2017
1.1.71 4,805 7/10/2017
1.1.70 666 7/10/2017
1.1.68 863 7/7/2017
1.1.67 952 7/4/2017
1.1.66 1,102 6/23/2017
1.1.65 991 6/15/2017
1.1.63 905 6/15/2017
1.1.62 2,123 6/4/2017
1.1.61 4,068 5/31/2017
1.1.60 1,441 5/16/2017
1.1.59 15,597 5/11/2017
1.1.58 991 5/5/2017
1.1.57 830 4/29/2017
1.1.56 718 4/28/2017
1.1.55 816 4/26/2017
1.1.54 691 4/26/2017
1.1.53 1,363 4/12/2017
1.1.48 2,768 2/10/2017
1.1.47 699 2/10/2017
1.1.45 2,303 1/27/2017
1.1.44 685 1/27/2017
1.1.43 782 1/25/2017
1.1.41 719 1/25/2017
1.1.40 1,039 1/6/2017
1.1.39 1,032 12/26/2016
1.1.38 1,339 12/26/2016
1.1.37 979 12/12/2016
1.1.35 1,623 11/29/2016
1.1.34 909 11/24/2016
1.1.31 1,393 9/13/2016
1.1.30 769 9/13/2016
1.1.29 1,337 9/3/2016
1.1.28 1,601 8/10/2016
1.1.27 846 8/8/2016
1.1.26 741 8/8/2016
1.1.25 2,318 7/28/2016
1.1.24 997 7/28/2016
1.1.23 978 7/28/2016
1.1.22 1,052 7/28/2016
1.1.20 1,633 6/4/2016
1.1.19 830 5/29/2016
1.1.17 770 5/26/2016
1.1.15 2,747 5/23/2016
1.1.14 1,909 5/22/2016
1.1.13 820 5/19/2016
1.1.12 2,968 4/24/2016
1.1.10 912 4/8/2016
1.1.9 803 3/31/2016
1.1.8 754 3/31/2016
1.1.7 727 3/31/2016
1.1.5 1,279 3/16/2016
1.1.4 757 3/16/2016
1.1.2 812 3/14/2016
1.1.1 1,343 3/12/2016
1.1.0 833 3/11/2016
1.0.64-pre 669 3/12/2016
1.0.63-pre 682 3/12/2016
1.0.62-pre 760 3/12/2016
1.0.61-pre 799 3/12/2016
1.0.60-pre 681 3/11/2016
1.0.59-pre 760 3/11/2016
1.0.58-pre 699 3/11/2016
1.0.56-pre 2,954 1/9/2016
1.0.55-pre 1,580 1/7/2016
1.0.54-pre 1,189 12/14/2015
1.0.53-pre 782 12/10/2015
1.0.52-pre 994 12/10/2015
1.0.51-pre 788 12/10/2015
1.0.50-pre 788 12/9/2015
1.0.49-pre 2,434 10/5/2015
1.0.48-pre 1,017 10/3/2015
1.0.47-pre 857 9/2/2015
1.0.46-pre 733 9/2/2015
1.0.45-pre 775 9/1/2015
1.0.44-pre 750 9/1/2015
1.0.43-pre 727 9/1/2015
1.0.42-pre 746 8/18/2015
1.0.41-pre 1,029 8/7/2015
1.0.40-pre 758 7/19/2015
1.0.39-pre 743 7/10/2015
1.0.38-pre 738 6/26/2015
1.0.37-pre 719 6/26/2015
1.0.36-pre 705 6/26/2015
1.0.35-pre 722 6/26/2015
1.0.34-pre 725 6/24/2015
1.0.33-pre 815 6/17/2015
1.0.31-pre 750 6/16/2015
1.0.30-pre 711 6/16/2015
1.0.29-pre 708 6/16/2015
1.0.28-pre 706 6/16/2015
1.0.27-pre 719 6/16/2015
1.0.26-pre 755 6/15/2015
1.0.25-pre 741 6/14/2015
1.0.24-pre 740 6/11/2015
1.0.23-pre 727 6/8/2015
1.0.22-pre 735 6/8/2015
1.0.21-pre 716 6/8/2015
1.0.20-pre 749 6/8/2015
1.0.19-pre 722 6/8/2015
1.0.18-pre 726 6/8/2015
1.0.16-pre 725 6/5/2015
1.0.15-pre 758 6/5/2015
1.0.14-pre 785 6/4/2015
1.0.11-pre 728 6/3/2015
1.0.10-pre 743 6/3/2015
1.0.9-pre 752 6/3/2015
1.0.8-pre 735 6/3/2015
1.0.7-pre 790 6/3/2015
1.0.6-pre 717 6/3/2015
1.0.5-pre 733 6/3/2015
1.0.4-pre 729 6/3/2015
1.0.3-pre 723 6/3/2015
1.0.1-pre 725 6/3/2015
1.0.0 958 2/22/2016
1.0.0-pre 719 5/26/2015
0.0.196 280 10/14/2020
0.0.195 275 10/5/2020
0.0.194 504 9/24/2020