LibGit2Sharp 0.28.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)

Showing the top 20 packages that depend on LibGit2Sharp.

Packages Downloads
GitTools.Core
Core library for GitTools
31
GitTools.Core
Core library for GitTools
32
GitTools.Core
Core library for GitTools
33
GitTools.Core
Core library for GitTools
34
GitVersionTask
Stamps an assembly with git information based on SemVer.
30
GitVersionTask
Stamps an assembly with git information based on SemVer.
31
GitVersionTask
Stamps an assembly with git information based on SemVer.
32
GitVersionTask
Stamps an assembly with git information based on SemVer.
33
GitVersionTask
Stamps an assembly with git information based on SemVer.
39

https://github.com/libgit2/libgit2sharp/blob/1c409f9dc5ad0a06d210c0a3f693e021875645d0/CHANGES.md

.NET Framework 4.7.2

.NET 6.0

Version Downloads Last updated
0.31.0 13 12/11/2024
0.30.0 37 04/18/2024
0.29.0 26 02/09/2024
0.28.0 24 02/09/2024
0.27.2 28 02/09/2024
0.27.1 27 02/09/2024
0.27.0 27 02/09/2024
0.27.0-preview-0182 25 02/15/2024
0.27.0-preview-0175 32 02/15/2024
0.27.0-preview-0158 22 02/15/2024
0.27.0-preview-0156 29 02/15/2024
0.27.0-preview-0119 27 02/15/2024
0.27.0-preview-0116 28 02/15/2024
0.27.0-preview-0102 27 02/15/2024
0.27.0-preview-0100 26 02/15/2024
0.27.0-preview-0096 24 02/15/2024
0.27.0-preview-0034 21 02/15/2024
0.27.0-preview-0029 22 02/15/2024
0.27.0-preview-0024 24 02/15/2024
0.27.0-preview-0020 26 02/15/2024
0.27.0-preview-0017 25 02/15/2024
0.27.0-preview-0007 23 02/15/2024
0.26.2 24 02/09/2024
0.26.1 24 02/09/2024
0.26.0 26 02/09/2024
0.26.0-rc1 21 02/09/2024
0.26.0-preview-0080 36 02/15/2024
0.26.0-preview-0070 20 02/15/2024
0.26.0-preview-0067 23 02/15/2024
0.26.0-preview-0062 23 02/15/2024
0.26.0-preview-0054 27 02/15/2024
0.26.0-preview-0027 30 02/15/2024
0.26.0-preview-0023 21 02/15/2024
0.26.0-preview-0017 22 02/15/2024
0.25.4 29 02/09/2024
0.25.3 26 02/09/2024
0.25.2 33 02/09/2024
0.25.0 26 02/09/2024
0.25.0-preview-0081 27 02/15/2024
0.25.0-preview-0073 25 02/15/2024
0.25.0-preview-0033 26 02/15/2024
0.24.1 28 02/09/2024
0.24.0 27 02/09/2024
0.24.0-pre20170124092542 18 02/15/2024
0.23.1 24 02/09/2024
0.23.0 27 02/09/2024
0.23.0-pre20160922233542 27 02/15/2024
0.23.0-pre20160803182831 21 02/15/2024
0.23.0-pre20150419160303 24 02/15/2024
0.22.1 25 02/09/2024
0.22.0 27 02/09/2024
0.22.0-pre20151023210959 22 02/15/2024
0.22.0-pre20151020205438 31 02/15/2024
0.22.0-pre20151003111314 25 02/15/2024
0.22.0-pre20150716071016 22 02/15/2024
0.22.0-pre20150709062140 29 02/15/2024
0.22.0-pre20150606092322 25 02/15/2024
0.22.0-pre20150529055949 27 02/15/2024
0.22.0-pre20150527180327 25 02/15/2024
0.22.0-pre20150516171636 24 02/15/2024
0.22.0-pre20150507080442 24 02/15/2024
0.22.0-pre20150415174523 21 02/15/2024
0.22.0-pre20150409142943 24 02/15/2024
0.22.0-pre20150324065655 25 02/15/2024
0.22.0-pre20150323064819 22 02/15/2024
0.22.0-pre20150317225305 25 02/15/2024
0.22.0-pre20150223185624 31 02/15/2024
0.22.0-pre20150220065928 27 02/15/2024
0.22.0-pre20150215193741 25 02/15/2024
0.22.0-pre20150212180712 29 02/15/2024
0.22.0-pre20150207140248 25 02/15/2024
0.21.0.176 23 02/09/2024
0.20.2 26 02/09/2024
0.20.1 25 02/09/2024
0.20.0 25 02/09/2024
0.19.0 24 02/09/2024
0.18.1 40 02/09/2024
0.18.0 26 02/09/2024
0.17.0 27 02/09/2024
0.16.0 22 02/09/2024
0.15.0 30 02/09/2024
0.14.1 28 02/09/2024
0.14.0 31 02/09/2024
0.13.0 24 02/09/2024
0.12.0 29 02/09/2024
0.11.0 21 02/09/2024
0.10.0 22 02/09/2024
0.9.5 24 02/09/2024
0.9.0 18 02/09/2024
0.8.0 27 02/09/2024
0.7.0 13 02/09/2024
0.6.2 27 02/09/2024
0.6.1 24 02/09/2024
0.6.0 19 02/09/2024
0.5.0 24 02/09/2024
0.4.0 21 02/09/2024
0.3.0 21 02/09/2024
0.2.0 25 02/09/2024
0.1.1 30 02/09/2024
0.1.0 24 02/09/2024