LibGit2Sharp 0.31.0

dotnet add package LibGit2Sharp --version 0.31.0
                    
NuGet\Install-Package LibGit2Sharp -Version 0.31.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LibGit2Sharp" Version="0.31.0" />
                    
Directory.Packages.props
<PackageReference Include="LibGit2Sharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LibGit2Sharp --version 0.31.0
                    
#r "nuget: LibGit2Sharp, 0.31.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LibGit2Sharp@0.31.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LibGit2Sharp&version=0.31.0
                    
Install as a Cake Addin
#tool nuget:?package=LibGit2Sharp&version=0.31.0
                    
Install as a Cake Tool

LibGit2Sharp

CI NuGet version (LibGit2Sharp)

LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET

Online resources

Troubleshooting and support

  • Usage or programming related question? Post it on StackOverflow using the tag libgit2sharp
  • Found a bug or missing a feature? Feed the issue tracker
  • Announcements and related miscellanea through Twitter (@libgit2sharp)

Quick contributing guide

  • Fork and clone locally
  • Create a topic specific branch. Add some nice feature. Do not forget the tests 😉
  • Send a Pull Request to spread the fun!

More thorough information is available in the wiki.

Optimizing unit testing

LibGit2Sharp strives to have a comprehensive and robust unit test suite to ensure the quality of the software and to assist new contributors and users, who can use the tests as examples to jump start development. There are over one thousand unit tests for LibGit2Sharp, and this number will only grow as functionality is added.

You can do a few things to optimize running unit tests on Windows:

  1. Set the LibGit2TestPath environment variable to a path in your development environment.
    • If the unit test framework cannot find the specified folder at runtime, it will fall back to the default location.
  2. Configure your anti-virus software to ignore the LibGit2TestPath path.
  3. Install a RAM disk like IMDisk and set LibGit2TestPath to use it.
    • Use imdisk.exe -a -s 512M -m X: -p "/fs:fat /q /v:ramdisk /y" to create a RAM disk. This command requires elevated privileges and can be placed into a scheduled task or run manually before you begin unit-testing.

Authors

License

The MIT license (Refer to the LICENSE.md file)

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (206)

Showing the top 5 NuGet packages that depend on LibGit2Sharp:

Package Downloads
Credfeto.DotNet.Repo.Tools.Git.Interfaces

Dotnet Repository Update tools

Credfeto.ChangeLog

Changelog manager common library.

2GIS.NuClear.BuildTools

Инструменты автоматизации

Rocket.Surgery.Nuke

Package Description

Cake.Frosting.Git

This addin provides aliases for running Git commands from Cake scripts. It is a thin wrapper around the LibGit2Sharp library and provides a way to interact with Git repositories from Cake scripts. NOTE: The addin currently only runs on x64 processors. ARM processors are not supported. This is the version of the addin compatible with Cake Script Runners. For addin compatible with Cake Frosting see Cake.Frosting.Git. NOTE: This is the version of the addin compatible with Cake Frosting. For addin compatible with Cake Script Runners see Cake.Git.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.31.0 6,277,358 12/3/2024
0.30.0 3,553,550 3/19/2024
0.29.0 2,404,405 12/3/2023 0.29.0 is deprecated because it has critical bugs.
0.28.0 691,604 11/4/2023 0.28.0 is deprecated because it has critical bugs.
0.27.2 1,770,885 4/12/2023 0.27.2 is deprecated because it has critical bugs.
0.27.1 9,528 4/11/2023 0.27.1 is deprecated because it has critical bugs.
0.27.0 25,494 4/11/2023 0.27.0 is deprecated because it has critical bugs.
0.27.0-preview-0182 1,270,460 4/2/2022 0.27.0-preview-0182 is deprecated because it has critical bugs.
0.27.0-preview-0175 410,394 1/4/2022 0.27.0-preview-0175 is deprecated because it has critical bugs.
0.27.0-preview-0158 410,386 11/11/2021 0.27.0-preview-0158 is deprecated because it has critical bugs.
0.27.0-preview-0156 1,805 11/9/2021 0.27.0-preview-0156 is deprecated because it has critical bugs.
0.27.0-preview-0119 154,166 8/24/2021 0.27.0-preview-0119 is deprecated because it has critical bugs.
0.27.0-preview-0116 200,203 8/13/2021 0.27.0-preview-0116 is deprecated because it has critical bugs.
0.27.0-preview-0102 446,826 7/3/2021 0.27.0-preview-0102 is deprecated because it has critical bugs.
0.27.0-preview-0100 30,309 6/17/2021 0.27.0-preview-0100 is deprecated because it has critical bugs.
0.27.0-preview-0096 338,565 11/23/2020 0.27.0-preview-0096 is deprecated because it has critical bugs.
0.27.0-preview-0034 354,324 11/20/2019 0.27.0-preview-0034 is deprecated because it has critical bugs.
0.27.0-preview-0029 7,874 10/16/2019 0.27.0-preview-0029 is deprecated because it has critical bugs.
0.27.0-preview-0024 34,721 10/9/2019 0.27.0-preview-0024 is deprecated because it has critical bugs.
0.26.2 5,377,850 12/11/2019 0.26.2 is deprecated because it has critical bugs.
Loading failed