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 48,450 12/3/2024
0.30.0 1,108,699 3/19/2024
0.29.0 1,155,000 12/3/2023 0.29.0 is deprecated because it has critical bugs.
0.28.0 379,874 11/4/2023 0.28.0 is deprecated because it has critical bugs.
0.27.2 1,220,012 4/12/2023 0.27.2 is deprecated because it has critical bugs.
0.27.1 7,627 4/11/2023 0.27.1 is deprecated because it has critical bugs.
0.27.0 6,792 4/11/2023 0.27.0 is deprecated because it has critical bugs.
0.27.0-preview-0182 1,010,937 4/2/2022 0.27.0-preview-0182 is deprecated because it has critical bugs.
0.27.0-preview-0175 322,412 1/4/2022 0.27.0-preview-0175 is deprecated because it has critical bugs.
0.27.0-preview-0158 234,591 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,179 8/24/2021 0.27.0-preview-0119 is deprecated because it has critical bugs.
0.27.0-preview-0116 177,099 8/13/2021 0.27.0-preview-0116 is deprecated because it has critical bugs.
0.27.0-preview-0102 393,320 7/3/2021 0.27.0-preview-0102 is deprecated because it has critical bugs.
0.27.0-preview-0100 27,455 6/17/2021 0.27.0-preview-0100 is deprecated because it has critical bugs.
0.27.0-preview-0096 280,028 11/23/2020 0.27.0-preview-0096 is deprecated because it has critical bugs.
0.27.0-preview-0034 312,866 11/20/2019 0.27.0-preview-0034 is deprecated because it has critical bugs.
0.27.0-preview-0029 7,298 10/16/2019 0.27.0-preview-0029 is deprecated because it has critical bugs.
0.27.0-preview-0024 33,943 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,769,750 12/11/2019 0.26.2 is deprecated because it has critical bugs.
0.26.1 263,683 8/13/2019 0.26.1 is deprecated because it has critical bugs.
0.26.0 542,601 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,423 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,519 11/29/2018 0.25.4 is deprecated because it has critical bugs.
0.25.3 81,917 10/8/2018 0.25.3 is deprecated because it has critical bugs.
0.25.2 239,687 5/30/2018 0.25.2 is deprecated because it has critical bugs.
0.25.0 52,876 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,438 7/24/2017 0.25.0-preview-0033 is deprecated because it has critical bugs.
0.24.1 276,024 3/12/2018 0.24.1 is deprecated because it has critical bugs.
0.24.0 411,760 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 492,122 1/9/2017 0.23.1 is deprecated because it has critical bugs.
0.23.0 32,100 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,797 1/9/2017 0.22.1 is deprecated because it has critical bugs.
0.22.0 522,353 3/4/2016 0.22.0 is deprecated because it has critical bugs.
0.22.0-pre20151023210959 21,800 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,072 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,255 2/1/2015 0.21.0.176 is deprecated because it has critical bugs.
0.20.2 6,777 1/21/2015 0.20.2 is deprecated because it has critical bugs.
0.20.1 9,877 12/18/2014 0.20.1 is deprecated because it has critical bugs.
0.20.0 22,690 11/5/2014 0.20.0 is deprecated because it has critical bugs.
0.19.0 23,974 8/27/2014 0.19.0 is deprecated because it has critical bugs.
0.18.1 15,524 6/4/2014 0.18.1 is deprecated because it has critical bugs.
0.18.0 4,037 6/2/2014 0.18.0 is deprecated because it has critical bugs.
0.17.0 8,862 4/14/2014 0.17.0 is deprecated because it has critical bugs.
0.16.0 7,945 2/6/2014 0.16.0 is deprecated because it has critical bugs.
0.15.0 7,768 12/25/2013 0.15.0 is deprecated because it has critical bugs.
0.14.1 5,842 9/25/2013 0.14.1 is deprecated because it has critical bugs.
0.14.0 4,475 9/9/2013 0.14.0 is deprecated because it has critical bugs.
0.13.0 6,565 7/20/2013 0.13.0 is deprecated because it has critical bugs.
0.12.0 4,336 6/2/2013 0.12.0 is deprecated because it has critical bugs.
0.11.0 4,270 5/4/2013 0.11.0 is deprecated because it has critical bugs.
0.10.0 4,002 4/2/2013 0.10.0 is deprecated because it has critical bugs.
0.9.5 7,021 5/28/2012 0.9.5 is deprecated because it has critical bugs.
0.9.0 4,282 5/21/2012 0.9.0 is deprecated because it has critical bugs.
0.8.0 4,203 2/12/2012 0.8.0 is deprecated because it has critical bugs.
0.7.0 4,935 12/20/2011 0.7.0 is deprecated because it has critical bugs.
0.6.2 3,871 11/5/2011 0.6.2 is deprecated because it has critical bugs.
0.6.1 3,793 11/1/2011 0.6.1 is deprecated because it has critical bugs.
0.6.0 4,239 10/23/2011 0.6.0 is deprecated because it has critical bugs.
0.5.0 4,380 9/29/2011 0.5.0 is deprecated because it has critical bugs.
0.4.0 4,164 7/15/2011 0.4.0 is deprecated because it has critical bugs.
0.3.0 3,980 6/14/2011 0.3.0 is deprecated because it has critical bugs.
0.2.0 4,613 5/24/2011 0.2.0 is deprecated because it has critical bugs.
0.1.1 3,729 5/12/2011 0.1.1 is deprecated because it has critical bugs.
0.1.0 12,736 5/11/2011 0.1.0 is deprecated because it has critical bugs.