LibGit2Sharp 0.30.0

dotnet add package LibGit2Sharp --version 0.30.0                
NuGet\Install-Package LibGit2Sharp -Version 0.30.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.30.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibGit2Sharp --version 0.30.0                
#r "nuget: LibGit2Sharp, 0.30.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.30.0

// Install LibGit2Sharp as a Cake Tool
#tool nuget:?package=LibGit2Sharp&version=0.30.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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 (154)

Showing the top 5 NuGet packages that depend on LibGit2Sharp:

Package Downloads
2GIS.NuClear.BuildTools

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

OctoVersion.Core

Package Description

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.

Credfeto.ChangeLog

Changelog manager common library.

Soenneker.Git.Util

A utility library for useful and common Git operations

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.30.0 906,203 3/19/2024
0.29.0 1,074,636 12/3/2023 0.29.0 is deprecated because it has critical bugs.
0.28.0 343,921 11/4/2023 0.28.0 is deprecated because it has critical bugs.
0.27.2 1,182,023 4/12/2023 0.27.2 is deprecated because it has critical bugs.
0.27.1 7,037 4/11/2023 0.27.1 is deprecated because it has critical bugs.
0.27.0 6,326 4/11/2023 0.27.0 is deprecated because it has critical bugs.
0.27.0-preview-0182 986,526 4/2/2022 0.27.0-preview-0182 is deprecated because it has critical bugs.
0.27.0-preview-0175 317,461 1/4/2022 0.27.0-preview-0175 is deprecated because it has critical bugs.
0.27.0-preview-0158 226,611 11/11/2021 0.27.0-preview-0158 is deprecated because it has critical bugs.
0.27.0-preview-0156 1,507 11/9/2021 0.27.0-preview-0156 is deprecated because it has critical bugs.
0.27.0-preview-0119 139,403 8/24/2021 0.27.0-preview-0119 is deprecated because it has critical bugs.
0.27.0-preview-0116 176,299 8/13/2021 0.27.0-preview-0116 is deprecated because it has critical bugs.
0.27.0-preview-0102 366,275 7/3/2021 0.27.0-preview-0102 is deprecated because it has critical bugs.
0.27.0-preview-0100 27,276 6/17/2021 0.27.0-preview-0100 is deprecated because it has critical bugs.
0.27.0-preview-0096 277,162 11/23/2020 0.27.0-preview-0096 is deprecated because it has critical bugs.
0.27.0-preview-0034 310,099 11/20/2019 0.27.0-preview-0034 is deprecated because it has critical bugs.
0.27.0-preview-0029 7,246 10/16/2019 0.27.0-preview-0029 is deprecated because it has critical bugs.
0.27.0-preview-0024 33,927 10/9/2019 0.27.0-preview-0024 is deprecated because it has critical bugs.
0.27.0-preview-0020 96,618 9/21/2019 0.27.0-preview-0020 is deprecated because it has critical bugs.
0.27.0-preview-0017 4,045 8/13/2019 0.27.0-preview-0017 is deprecated because it has critical bugs.
0.27.0-preview-0007 14,318 4/20/2019 0.27.0-preview-0007 is deprecated because it has critical bugs.
0.26.2 4,726,515 12/11/2019 0.26.2 is deprecated because it has critical bugs.
0.26.1 260,933 8/13/2019 0.26.1 is deprecated because it has critical bugs.
0.26.0 539,227 2/15/2019 0.26.0 is deprecated because it has critical bugs.
0.26.0-rc1 3,950 2/6/2019 0.26.0-rc1 is deprecated because it has critical bugs.
0.26.0-preview-0080 6,667 1/7/2019 0.26.0-preview-0080 is deprecated because it has critical bugs.
0.26.0-preview-0070 20,233 11/29/2018 0.26.0-preview-0070 is deprecated because it has critical bugs.
0.26.0-preview-0067 2,567 11/29/2018 0.26.0-preview-0067 is deprecated because it has critical bugs.
0.26.0-preview-0062 114,384 11/6/2018 0.26.0-preview-0062 is deprecated because it has critical bugs.
0.26.0-preview-0054 3,320 10/19/2018 0.26.0-preview-0054 is deprecated because it has critical bugs.
0.26.0-preview-0027 46,339 6/19/2018 0.26.0-preview-0027 is deprecated because it has critical bugs.
0.26.0-preview-0023 3,240 5/29/2018 0.26.0-preview-0023 is deprecated because it has critical bugs.
0.26.0-preview-0017 5,043 4/17/2018 0.26.0-preview-0017 is deprecated because it has critical bugs.
0.25.4 139,473 11/29/2018 0.25.4 is deprecated because it has critical bugs.
0.25.3 75,421 10/8/2018 0.25.3 is deprecated because it has critical bugs.
0.25.2 239,455 5/30/2018 0.25.2 is deprecated because it has critical bugs.
0.25.0 52,744 3/26/2018 0.25.0 is deprecated because it has critical bugs.
0.25.0-preview-0081 5,310 3/5/2018 0.25.0-preview-0081 is deprecated because it has critical bugs.
0.25.0-preview-0073 13,089 11/27/2017 0.25.0-preview-0073 is deprecated because it has critical bugs.
0.25.0-preview-0033 206,875 7/24/2017 0.25.0-preview-0033 is deprecated because it has critical bugs.
0.24.1 268,464 3/12/2018 0.24.1 is deprecated because it has critical bugs.
0.24.0 409,131 6/21/2017 0.24.0 is deprecated because it has critical bugs.
0.24.0-pre20170124092542 27,377 1/24/2017 0.24.0-pre20170124092542 is deprecated because it has critical bugs.
0.23.1 486,223 1/9/2017 0.23.1 is deprecated because it has critical bugs.
0.23.0 31,834 12/23/2016 0.23.0 is deprecated because it has critical bugs.
0.23.0-pre20160922233542 7,091 9/23/2016 0.23.0-pre20160922233542 is deprecated because it has critical bugs.
0.23.0-pre20160803182831 5,443 8/3/2016 0.23.0-pre20160803182831 is deprecated because it has critical bugs.
0.23.0-pre20150419160303 5,748 4/19/2016 0.23.0-pre20150419160303 is deprecated because it has critical bugs.
0.22.1 18,765 1/9/2017 0.22.1 is deprecated because it has critical bugs.
0.22.0 521,788 3/4/2016 0.22.0 is deprecated because it has critical bugs.
0.22.0-pre20151023210959 21,786 10/23/2015 0.22.0-pre20151023210959 is deprecated because it has critical bugs.
0.22.0-pre20151020205438 2,853 10/20/2015 0.22.0-pre20151020205438 is deprecated because it has critical bugs.
0.22.0-pre20151003111314 3,420 10/3/2015 0.22.0-pre20151003111314 is deprecated because it has critical bugs.
0.22.0-pre20150716071016 5,129 7/16/2015 0.22.0-pre20150716071016 is deprecated because it has critical bugs.
0.22.0-pre20150709062140 2,995 7/9/2015 0.22.0-pre20150709062140 is deprecated because it has critical bugs.
0.22.0-pre20150606092322 3,230 6/6/2015 0.22.0-pre20150606092322 is deprecated because it has critical bugs.
0.22.0-pre20150529055949 2,994 5/29/2015 0.22.0-pre20150529055949 is deprecated because it has critical bugs.
0.22.0-pre20150527180327 3,243 5/27/2015 0.22.0-pre20150527180327 is deprecated because it has critical bugs.
0.22.0-pre20150516171636 8,914 5/17/2015 0.22.0-pre20150516171636 is deprecated because it has critical bugs.
0.22.0-pre20150507080442 3,211 5/9/2015 0.22.0-pre20150507080442 is deprecated because it has critical bugs.
0.22.0-pre20150415174523 32,475 4/15/2015 0.22.0-pre20150415174523 is deprecated because it has critical bugs.
0.22.0-pre20150409142943 3,285 4/9/2015 0.22.0-pre20150409142943 is deprecated because it has critical bugs.
0.22.0-pre20150324065655 3,558 3/24/2015 0.22.0-pre20150324065655 is deprecated because it has critical bugs.
0.22.0-pre20150323064819 3,360 3/23/2015 0.22.0-pre20150323064819 is deprecated because it has critical bugs.
0.22.0-pre20150317225305 3,236 3/18/2015 0.22.0-pre20150317225305 is deprecated because it has critical bugs.
0.22.0-pre20150223185624 3,790 2/23/2015 0.22.0-pre20150223185624 is deprecated because it has critical bugs.
0.22.0-pre20150220065928 3,679 2/20/2015 0.22.0-pre20150220065928 is deprecated because it has critical bugs.
0.22.0-pre20150215193741 3,638 2/15/2015 0.22.0-pre20150215193741 is deprecated because it has critical bugs.
0.22.0-pre20150212180712 3,377 2/12/2015 0.22.0-pre20150212180712 is deprecated because it has critical bugs.
0.22.0-pre20150207140248 3,319 2/7/2015 0.22.0-pre20150207140248 is deprecated because it has critical bugs.
0.21.0.176 220,855 2/1/2015 0.21.0.176 is deprecated because it has critical bugs.
0.20.2 6,758 1/21/2015 0.20.2 is deprecated because it has critical bugs.
0.20.1 9,850 12/18/2014 0.20.1 is deprecated because it has critical bugs.
0.20.0 22,613 11/5/2014 0.20.0 is deprecated because it has critical bugs.
0.19.0 23,938 8/27/2014 0.19.0 is deprecated because it has critical bugs.
0.18.1 15,493 6/4/2014 0.18.1 is deprecated because it has critical bugs.
0.18.0 4,002 6/2/2014 0.18.0 is deprecated because it has critical bugs.
0.17.0 8,829 4/14/2014 0.17.0 is deprecated because it has critical bugs.
0.16.0 7,915 2/6/2014 0.16.0 is deprecated because it has critical bugs.
0.15.0 7,741 12/25/2013 0.15.0 is deprecated because it has critical bugs.
0.14.1 5,808 9/25/2013 0.14.1 is deprecated because it has critical bugs.
0.14.0 4,457 9/9/2013 0.14.0 is deprecated because it has critical bugs.
0.13.0 6,525 7/20/2013 0.13.0 is deprecated because it has critical bugs.
0.12.0 4,316 6/2/2013 0.12.0 is deprecated because it has critical bugs.
0.11.0 4,251 5/4/2013 0.11.0 is deprecated because it has critical bugs.
0.10.0 3,974 4/2/2013 0.10.0 is deprecated because it has critical bugs.
0.9.5 6,994 5/28/2012 0.9.5 is deprecated because it has critical bugs.
0.9.0 4,266 5/21/2012 0.9.0 is deprecated because it has critical bugs.
0.8.0 4,181 2/12/2012 0.8.0 is deprecated because it has critical bugs.
0.7.0 4,909 12/20/2011 0.7.0 is deprecated because it has critical bugs.
0.6.2 3,854 11/5/2011 0.6.2 is deprecated because it has critical bugs.
0.6.1 3,777 11/1/2011 0.6.1 is deprecated because it has critical bugs.
0.6.0 4,220 10/23/2011 0.6.0 is deprecated because it has critical bugs.
0.5.0 4,359 9/29/2011 0.5.0 is deprecated because it has critical bugs.
0.4.0 4,141 7/15/2011 0.4.0 is deprecated because it has critical bugs.
0.3.0 3,959 6/14/2011 0.3.0 is deprecated because it has critical bugs.
0.2.0 4,597 5/24/2011 0.2.0 is deprecated because it has critical bugs.
0.1.1 3,714 5/12/2011 0.1.1 is deprecated because it has critical bugs.
0.1.0 12,387 5/11/2011 0.1.0 is deprecated because it has critical bugs.