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.
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.
// Install LibGit2Sharp as a Cake Addin
#addin nuget:?package=LibGit2Sharp&version=0.31.0

// Install LibGit2Sharp as a Cake Tool
#tool nuget:?package=LibGit2Sharp&version=0.31.0                

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. 
.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 (153)

Showing the top 5 NuGet packages that depend on LibGit2Sharp:

Package Downloads
2GIS.NuClear.BuildTools

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

OctoVersion.Core

Package Description

Soenneker.Git.Util

A utility library for useful and common Git operations

Credfeto.ChangeLog

Changelog manager common library.

OctoNotes.Generator

OctoNotes is a tool for generating release notes from Git repositories. In a perfect, trunk-based world, there would be a single, linear graph between versions of an application. In the real world, however, that's almost never the case. Many releases will have hotfixes; many applications will have LTS branches or maintenance releases; not to mention pull requests and other reasons for branches, both short-lived and long. OctoNotes takes a slightly different view of release notes. OctoNotes views the Git revision graph as the single source of truth. If a bug was fixed in a commit, that bug is only fixed in revisions containing that commit. If a feature was added between versions X and Y, it will appear in the Git revision graph as a commit somwehere between those two points. By leveraging Git tags, OctoNotes can pinpoint precisely where in a Git revision graph a change was introduced, and provide the release notes for just the commits between two points on that graph.

GitHub repositories (77)

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

Repository Stars
files-community/Files
A modern file manager that helps users organize their files and folders.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
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).
stride3d/stride
Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
microsoft/ApplicationInspector
A source code analyzer built for surfacing features of interest and other characteristics to answer the question 'What's in the code?' quickly using static analysis with a json based rules engine. Ideal for scanning components before use or detecting feature level changes.
Version Downloads Last updated
0.31.0 37,789 12/3/2024
0.30.0 1,098,640 3/19/2024
0.29.0 1,151,696 12/3/2023 0.29.0 is deprecated because it has critical bugs.
0.28.0 376,281 11/4/2023 0.28.0 is deprecated because it has critical bugs.
0.27.2 1,217,528 4/12/2023 0.27.2 is deprecated because it has critical bugs.
0.27.1 7,625 4/11/2023 0.27.1 is deprecated because it has critical bugs.
0.27.0 6,700 4/11/2023 0.27.0 is deprecated because it has critical bugs.
0.27.0-preview-0182 1,009,070 4/2/2022 0.27.0-preview-0182 is deprecated because it has critical bugs.
0.27.0-preview-0175 322,013 1/4/2022 0.27.0-preview-0175 is deprecated because it has critical bugs.
0.27.0-preview-0158 234,355 11/11/2021 0.27.0-preview-0158 is deprecated because it has critical bugs.
0.27.0-preview-0156 1,513 11/9/2021 0.27.0-preview-0156 is deprecated because it has critical bugs.
0.27.0-preview-0119 140,152 8/24/2021 0.27.0-preview-0119 is deprecated because it has critical bugs.
0.27.0-preview-0116 176,989 8/13/2021 0.27.0-preview-0116 is deprecated because it has critical bugs.
0.27.0-preview-0102 390,600 7/3/2021 0.27.0-preview-0102 is deprecated because it has critical bugs.
0.27.0-preview-0100 27,439 6/17/2021 0.27.0-preview-0100 is deprecated because it has critical bugs.
0.27.0-preview-0096 279,836 11/23/2020 0.27.0-preview-0096 is deprecated because it has critical bugs.
0.27.0-preview-0034 312,561 11/20/2019 0.27.0-preview-0034 is deprecated because it has critical bugs.
0.27.0-preview-0029 7,296 10/16/2019 0.27.0-preview-0029 is deprecated because it has critical bugs.
0.27.0-preview-0024 33,941 10/9/2019 0.27.0-preview-0024 is deprecated because it has critical bugs.
0.27.0-preview-0020 96,669 9/21/2019 0.27.0-preview-0020 is deprecated because it has critical bugs.
0.27.0-preview-0017 4,057 8/13/2019 0.27.0-preview-0017 is deprecated because it has critical bugs.
0.27.0-preview-0007 14,337 4/20/2019 0.27.0-preview-0007 is deprecated because it has critical bugs.
0.26.2 4,766,810 12/11/2019 0.26.2 is deprecated because it has critical bugs.
0.26.1 263,547 8/13/2019 0.26.1 is deprecated because it has critical bugs.
0.26.0 542,381 2/15/2019 0.26.0 is deprecated because it has critical bugs.
0.26.0-rc1 4,024 2/6/2019 0.26.0-rc1 is deprecated because it has critical bugs.
0.26.0-preview-0080 6,686 1/7/2019 0.26.0-preview-0080 is deprecated because it has critical bugs.
0.26.0-preview-0070 20,250 11/29/2018 0.26.0-preview-0070 is deprecated because it has critical bugs.
0.26.0-preview-0067 2,575 11/29/2018 0.26.0-preview-0067 is deprecated because it has critical bugs.
0.26.0-preview-0062 114,419 11/6/2018 0.26.0-preview-0062 is deprecated because it has critical bugs.
0.26.0-preview-0054 3,329 10/19/2018 0.26.0-preview-0054 is deprecated because it has critical bugs.
0.26.0-preview-0027 46,351 6/19/2018 0.26.0-preview-0027 is deprecated because it has critical bugs.
0.26.0-preview-0023 3,250 5/29/2018 0.26.0-preview-0023 is deprecated because it has critical bugs.
0.26.0-preview-0017 5,051 4/17/2018 0.26.0-preview-0017 is deprecated because it has critical bugs.
0.25.4 141,327 11/29/2018 0.25.4 is deprecated because it has critical bugs.
0.25.3 81,566 10/8/2018 0.25.3 is deprecated because it has critical bugs.
0.25.2 239,669 5/30/2018 0.25.2 is deprecated because it has critical bugs.
0.25.0 52,866 3/26/2018 0.25.0 is deprecated because it has critical bugs.
0.25.0-preview-0081 5,321 3/5/2018 0.25.0-preview-0081 is deprecated because it has critical bugs.
0.25.0-preview-0073 13,097 11/27/2017 0.25.0-preview-0073 is deprecated because it has critical bugs.
0.25.0-preview-0033 207,378 7/24/2017 0.25.0-preview-0033 is deprecated because it has critical bugs.
0.24.1 275,460 3/12/2018 0.24.1 is deprecated because it has critical bugs.
0.24.0 411,673 6/21/2017 0.24.0 is deprecated because it has critical bugs.
0.24.0-pre20170124092542 27,392 1/24/2017 0.24.0-pre20170124092542 is deprecated because it has critical bugs.
0.23.1 491,889 1/9/2017 0.23.1 is deprecated because it has critical bugs.
0.23.0 32,077 12/23/2016 0.23.0 is deprecated because it has critical bugs.
0.23.0-pre20160922233542 7,100 9/23/2016 0.23.0-pre20160922233542 is deprecated because it has critical bugs.
0.23.0-pre20160803182831 5,479 8/3/2016 0.23.0-pre20160803182831 is deprecated because it has critical bugs.
0.23.0-pre20150419160303 5,762 4/19/2016 0.23.0-pre20150419160303 is deprecated because it has critical bugs.
0.22.1 18,790 1/9/2017 0.22.1 is deprecated because it has critical bugs.
0.22.0 522,331 3/4/2016 0.22.0 is deprecated because it has critical bugs.
0.22.0-pre20151023210959 21,798 10/23/2015 0.22.0-pre20151023210959 is deprecated because it has critical bugs.
0.22.0-pre20151020205438 2,861 10/20/2015 0.22.0-pre20151020205438 is deprecated because it has critical bugs.
0.22.0-pre20151003111314 3,428 10/3/2015 0.22.0-pre20151003111314 is deprecated because it has critical bugs.
0.22.0-pre20150716071016 5,139 7/16/2015 0.22.0-pre20150716071016 is deprecated because it has critical bugs.
0.22.0-pre20150709062140 3,004 7/9/2015 0.22.0-pre20150709062140 is deprecated because it has critical bugs.
0.22.0-pre20150606092322 3,239 6/6/2015 0.22.0-pre20150606092322 is deprecated because it has critical bugs.
0.22.0-pre20150529055949 3,002 5/29/2015 0.22.0-pre20150529055949 is deprecated because it has critical bugs.
0.22.0-pre20150527180327 3,253 5/27/2015 0.22.0-pre20150527180327 is deprecated because it has critical bugs.
0.22.0-pre20150516171636 8,923 5/17/2015 0.22.0-pre20150516171636 is deprecated because it has critical bugs.
0.22.0-pre20150507080442 3,222 5/9/2015 0.22.0-pre20150507080442 is deprecated because it has critical bugs.
0.22.0-pre20150415174523 33,018 4/15/2015 0.22.0-pre20150415174523 is deprecated because it has critical bugs.
0.22.0-pre20150409142943 3,295 4/9/2015 0.22.0-pre20150409142943 is deprecated because it has critical bugs.
0.22.0-pre20150324065655 3,570 3/24/2015 0.22.0-pre20150324065655 is deprecated because it has critical bugs.
0.22.0-pre20150323064819 3,368 3/23/2015 0.22.0-pre20150323064819 is deprecated because it has critical bugs.
0.22.0-pre20150317225305 3,281 3/18/2015 0.22.0-pre20150317225305 is deprecated because it has critical bugs.
0.22.0-pre20150223185624 3,799 2/23/2015 0.22.0-pre20150223185624 is deprecated because it has critical bugs.
0.22.0-pre20150220065928 3,687 2/20/2015 0.22.0-pre20150220065928 is deprecated because it has critical bugs.
0.22.0-pre20150215193741 3,647 2/15/2015 0.22.0-pre20150215193741 is deprecated because it has critical bugs.
0.22.0-pre20150212180712 3,385 2/12/2015 0.22.0-pre20150212180712 is deprecated because it has critical bugs.
0.22.0-pre20150207140248 3,327 2/7/2015 0.22.0-pre20150207140248 is deprecated because it has critical bugs.
0.21.0.176 224,156 2/1/2015 0.21.0.176 is deprecated because it has critical bugs.
0.20.2 6,774 1/21/2015 0.20.2 is deprecated because it has critical bugs.
0.20.1 9,874 12/18/2014 0.20.1 is deprecated because it has critical bugs.
0.20.0 22,682 11/5/2014 0.20.0 is deprecated because it has critical bugs.
0.19.0 23,966 8/27/2014 0.19.0 is deprecated because it has critical bugs.
0.18.1 15,518 6/4/2014 0.18.1 is deprecated because it has critical bugs.
0.18.0 4,033 6/2/2014 0.18.0 is deprecated because it has critical bugs.
0.17.0 8,859 4/14/2014 0.17.0 is deprecated because it has critical bugs.
0.16.0 7,942 2/6/2014 0.16.0 is deprecated because it has critical bugs.
0.15.0 7,764 12/25/2013 0.15.0 is deprecated because it has critical bugs.
0.14.1 5,839 9/25/2013 0.14.1 is deprecated because it has critical bugs.
0.14.0 4,471 9/9/2013 0.14.0 is deprecated because it has critical bugs.
0.13.0 6,561 7/20/2013 0.13.0 is deprecated because it has critical bugs.
0.12.0 4,333 6/2/2013 0.12.0 is deprecated because it has critical bugs.
0.11.0 4,266 5/4/2013 0.11.0 is deprecated because it has critical bugs.
0.10.0 3,997 4/2/2013 0.10.0 is deprecated because it has critical bugs.
0.9.5 7,017 5/28/2012 0.9.5 is deprecated because it has critical bugs.
0.9.0 4,279 5/21/2012 0.9.0 is deprecated because it has critical bugs.
0.8.0 4,199 2/12/2012 0.8.0 is deprecated because it has critical bugs.
0.7.0 4,930 12/20/2011 0.7.0 is deprecated because it has critical bugs.
0.6.2 3,868 11/5/2011 0.6.2 is deprecated because it has critical bugs.
0.6.1 3,789 11/1/2011 0.6.1 is deprecated because it has critical bugs.
0.6.0 4,236 10/23/2011 0.6.0 is deprecated because it has critical bugs.
0.5.0 4,377 9/29/2011 0.5.0 is deprecated because it has critical bugs.
0.4.0 4,160 7/15/2011 0.4.0 is deprecated because it has critical bugs.
0.3.0 3,976 6/14/2011 0.3.0 is deprecated because it has critical bugs.
0.2.0 4,610 5/24/2011 0.2.0 is deprecated because it has critical bugs.
0.1.1 3,726 5/12/2011 0.1.1 is deprecated because it has critical bugs.
0.1.0 12,709 5/11/2011 0.1.0 is deprecated because it has critical bugs.