libgit2sharp
libgit2sharp copied to clipboard
Git + .NET = ❤
I have developed a pre-receive hook using C#/.NET and used `libgit2sharp` to retrieve the commits that are being pushed from the client. When I access the `Repository.Commits`, I only see...
I found it quite tricky to be sure of the nuget package name that I needed to add to my project. I generally look for the badge. I now see...
## Motivation and Background I was trying to make a VS extension that implements something like GitLens on VSCode. If you don't know what that is that's ok. It has...
This wraps the libgit2 function git_merge_trees() and so allows one to merge trees directly (specifying the ancestor tree to use in the 3-way merge). This functionality currently does not seem...
### Reproduction steps set in gitconfig merge.conflictstyle to zdiff3 ### Expected behavior Working libgit2sharp ### Actual behavior ``` LibGit2Sharp.LibGit2SharpException: unknown style 'zdiff3' given for 'merge.conflictstyle' at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) at LibGit2Sharp.Core.Ensure.ZeroResult(Int32...
Implements the feature requested in #1796 This fetches the default branch from a remote repository. This is useful to detect changes, and when remotes are added following initialization.
By default when initializing a new repository, the initial head is set to be whatever the globally configured value from `init.defaultBranch`. LibGit2Sharp was already exposing the `InitialHead` pointer to pass...
I'm using libGitSharp under IIS pool, when IIS pool is off I can compile my VS solution without any problems, but it I want to recompile the web site when...
Are there any plans for new releases? There are a lot of improvements and fixes in libgit2 1.3.0 which could be usefull
### Reproduction steps Azure DevOps 1. Create YAML Pipeline just for monitoring filemode (show all files with filemode, script: `git ls-files --stage`) and create build validation policy for main branch...