libgit2sharp
libgit2sharp copied to clipboard
Git + .NET = ❤
### Reproduction steps 1 - Copy a new file of size more than 100MB to local repository. 2 - Stage that file. 3 - Commit that file. 4 - Push...
Error messages are not user friendly. Example shown below ### Reproduction steps 1- On Entering wrong access token it shows, "too many redirects or authentication replays" 2- Checking out to...
Most exceptions have the same type of LibGit2SharpException, which makes it difficult to filter specific exceptions and throw our own exception with some custom message. One example is below: ###...
var r = new Repository(working); r.Network.Remotes.Add("remote", @"[email protected]:user1234/test.git"); r.Network.Push(r.Network.Remotes["remote"], @"refs/heads/master", new PushOptions { CredentialsProvider = //(url, user, credentials) => new UsernamePasswordCredentials //{ // Username = "user1234", // Password = "********" //}...
### Reproduction steps 1. Checkout commit https://github.com/ydanila/test_git from https://github.com/ydanila/test_git 2. Renamed README.md to README2.md and commit (will be marked as renamed) 3. Pull changes from 'main' using this code ```...
`git init` currently [exposes an option](https://git-scm.com/docs/git-init#Documentation/git-init.txt---initial-branchltbranch-namegt) to set the branch name. Although the property for this [is exposed](https://github.com/libgit2/libgit2sharp/blob/master/LibGit2Sharp/Core/GitRepositoryInitOptions.cs#L16) via a property `InitialHead` on the options builder that gets passed down...
The 0.26.2 version has been released for a long time, when will the new official version be released instead of the preview version.
Hi, have been search for this for a day and some people mentioned it is a bug. I can clone, stage and commit, but the push always fails. Command line...
Is it possible to do the equivalent of `git submodule add repo path` with libgit2sharp? Looks like the provided functionality only provides a read only access to the list of...
for some reason I need Use Commands.Stage(repository,"*") Stage All File then if I only want to commit a part of files How to Implemented this in git cmd git commit...