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

Showing the top 20 packages that depend on LibGit2Sharp.

Packages Downloads
GitVersionTask
Stamps an assembly with git information based on SemVer.
70
GitVersionTask
Stamps an assembly with git information based on SemVer.
71
GitVersionTask
Stamps an assembly with git information based on SemVer.
72
GitVersionTask
Stamps an assembly with git information based on SemVer.
73
GitVersionTask
Stamps an assembly with git information based on SemVer.
74
GitVersionTask
Stamps an assembly with git information based on SemVer.
75
GitVersionTask
Stamps an assembly with git information based on SemVer.
78
GitVersionTask
Stamps an assembly with git information based on SemVer.
79
GitVersionTask
Stamps an assembly with git information based on SemVer.
80
GitVersionTask
Stamps an assembly with git information based on SemVer.
81
GitVersionTask
Stamps an assembly with git information based on SemVer.
82
GitVersionTask
Stamps an assembly with git information based on SemVer.
83
GitVersionTask
Stamps an assembly with git information based on SemVer.
85

https://github.com/libgit2/libgit2sharp/blob/ee53bdd8a9f5cfecfc8750e28a1f5c0d34690ce0/CHANGES.md

.NET Framework 4.7.2

.NET 8.0

Version Downloads Last updated
0.31.0 50 01/07/2025
0.30.0 41 01/07/2025
0.29.0 43 01/07/2025
0.28.0 36 01/07/2025
0.27.2 36 01/03/2025
0.27.1 37 01/07/2025
0.27.0 35 01/03/2025
0.27.0-preview-0182 37 01/03/2025
0.27.0-preview-0175 44 01/03/2025
0.27.0-preview-0158 39 01/02/2025
0.27.0-preview-0156 39 01/04/2025
0.27.0-preview-0119 37 01/04/2025
0.27.0-preview-0116 39 01/04/2025
0.27.0-preview-0102 42 01/03/2025
0.27.0-preview-0100 37 01/03/2025
0.27.0-preview-0096 37 01/03/2025
0.27.0-preview-0034 38 01/02/2025
0.27.0-preview-0029 34 01/03/2025
0.27.0-preview-0024 41 01/02/2025
0.27.0-preview-0020 42 01/02/2025
0.27.0-preview-0017 38 01/04/2025
0.27.0-preview-0007 45 01/03/2025
0.26.2 36 01/03/2025
0.26.1 36 01/07/2025
0.26.0 36 01/07/2025
0.26.0-rc1 35 01/07/2025
0.26.0-preview-0080 48 01/04/2025
0.26.0-preview-0070 40 01/03/2025
0.26.0-preview-0067 39 01/04/2025
0.26.0-preview-0062 42 11/26/2024
0.26.0-preview-0054 37 01/03/2025
0.26.0-preview-0027 42 01/04/2025
0.26.0-preview-0023 38 01/03/2025
0.26.0-preview-0017 42 01/03/2025
0.25.4 36 01/07/2025
0.25.3 41 01/07/2025
0.25.2 37 01/07/2025
0.25.0 35 01/07/2025
0.25.0-preview-0081 41 01/08/2025
0.25.0-preview-0073 37 01/08/2025
0.25.0-preview-0033 43 01/08/2025
0.24.1 35 01/02/2025
0.24.0 40 01/03/2025
0.24.0-pre20170124092542 45 01/07/2025
0.23.1 36 01/07/2025
0.23.0 42 01/07/2025
0.23.0-pre20160922233542 43 01/04/2025
0.23.0-pre20160803182831 41 01/07/2025
0.23.0-pre20150419160303 36 01/07/2025
0.22.1 32 01/07/2025
0.22.0 41 01/07/2025
0.22.0-pre20151023210959 36 01/07/2025
0.22.0-pre20151020205438 36 01/07/2025
0.22.0-pre20151003111314 43 01/03/2025
0.22.0-pre20150716071016 45 01/02/2025
0.22.0-pre20150709062140 39 01/03/2025
0.22.0-pre20150606092322 38 01/07/2025
0.22.0-pre20150529055949 41 01/07/2025
0.22.0-pre20150527180327 50 01/07/2025
0.22.0-pre20150516171636 50 01/07/2025
0.22.0-pre20150507080442 46 01/07/2025
0.22.0-pre20150415174523 41 01/04/2025
0.22.0-pre20150409142943 45 01/07/2025
0.22.0-pre20150324065655 49 01/07/2025
0.22.0-pre20150323064819 50 01/07/2025
0.22.0-pre20150317225305 40 01/07/2025
0.22.0-pre20150223185624 53 01/07/2025
0.22.0-pre20150220065928 49 01/03/2025
0.22.0-pre20150215193741 51 01/04/2025
0.22.0-pre20150212180712 44 01/07/2025
0.22.0-pre20150207140248 36 01/07/2025
0.21.0.176 46 01/07/2025
0.20.2 40 01/03/2025
0.20.1 43 01/07/2025
0.20.0 45 01/07/2025
0.19.0 46 01/07/2025
0.18.1 40 01/07/2025
0.18.0 41 01/07/2025
0.17.0 44 01/07/2025
0.16.0 37 01/07/2025
0.15.0 45 01/07/2025
0.14.1 43 01/07/2025
0.14.0 47 01/07/2025
0.13.0 45 01/07/2025
0.12.0 49 01/07/2025
0.11.0 50 01/07/2025
0.10.0 40 01/07/2025
0.9.5 47 01/02/2025
0.9.0 40 01/07/2025
0.8.0 41 01/07/2025
0.7.0 51 01/07/2025
0.6.2 35 01/07/2025
0.6.1 34 01/07/2025
0.6.0 38 01/04/2025
0.5.0 37 01/07/2025
0.4.0 34 01/07/2025
0.3.0 37 01/04/2025
0.2.0 39 01/07/2025
0.1.1 32 01/07/2025
0.1.0 36 01/07/2025