libgit2sharp
libgit2sharp copied to clipboard
Git + .NET = ❤
I am trying to build src code and I get the following error ``` Unable to locate repository containing directory 'C:\Temp\\LibGit2Sharp'. LibGit2Sharp C:\Users\user1\.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-63127-02\build\Microsoft.Build.Tasks.Git.targets 20 ``` Any idea how can this...
This update is libgit2 [1.4.2](https://github.com/libgit2/libgit2/releases/tag/v1.4.2).
### Reproduction steps ```csharp // See https://aka.ms/new-console-template for more information using LibGit2Sharp; var tempPath = Path.Combine(Path.GetTempPath(), new Random().NextInt64().ToString()); var repoDirectory = Repository.Init(tempPath); Console.WriteLine($"Created repo at {repoDirectory}"); ``` ### Expected behavior...
Hi there I was hoping for support for `git clone --depth 1` so that we can support init'ing repos without all the history data. I'd be happy to have a...
Issues: 1. 401 2. 404 3. unsupported URL protocol error 4. unknown certificate check failure ### Expected behavior Either it should be specific type of exception or there should be...
### Reproduction steps Perform Delete or Push on master or protected branch ### Expected behavior There should be an exception thrown of specific type ### Actual behavior Performing Delete or...
Because of username and password deprication https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ We should use SSH keys for auth. How I can to do it with lib?
I am trying to do a pull, using the documented code : using (var repo = new Repository(folder)) { // Credential information to fetch LibGit2Sharp.PullOptions options = new LibGit2Sharp.PullOptions(); options.FetchOptions...
Please implement the functionality of git reset --merge These are already available in the library: git reset --mix git reset --soft git reset --hard We want to use git reset...
### Reproduction steps Call `Repository.Init(path)` where `path` is an existing empty directory. ### Expected behavior `path` will contain a directory named `.git` and nothing else. ### Actual behavior There is...