Skip to main content
2 votes
0 answers
52 views

I am using the LibGit2Sharp v0.31.0 release and trying to perform Git operations (like clone or fetch) over the SSH protocol. According to the release information, SSH is now supported through libgit2'...
BoomBoom's user avatar
0 votes
0 answers
148 views

I'm trying to clone a repository using a .NET console app. The git server is behind a kubernetes ingress. When trying to clone it using cmdline, it is working fine. However, when I try to clone the ...
Ernesto98's user avatar
0 votes
0 answers
20 views

We are using the libgit2sharp library to run git commands on a repository and when there is a remote failure on pushing the git commit, the OnPushError handler doesn't get triggered. using (var repo =...
Pallavi Sah's user avatar
0 votes
1 answer
94 views

I am performing a rebase operation with libgit2sharp and it works all nice, but I and would like to skip a rebase step when a conflict occurs (if the commit has a specific message) rebaseResult = ...
Bartosz's user avatar
  • 4,886
0 votes
1 answer
120 views

On shell I can do something below using bash git mkdir -p /tmp/REPO/ROOT && pushd /tmp/REPO/ROOT && git init && git checkout -b anyName As summary above init a local git repo ...
ekchom's user avatar
  • 148
0 votes
1 answer
220 views

How can I do the equivalent of git fetch origin <CommitHash> with LibGit2Sharp? It seems the only relevant option for git_remote_fetch are the refspecs so I imagine I need some trickery there, ...
Voo's user avatar
  • 30.4k
-2 votes
1 answer
197 views

I am trying to capture a specific line in a file given a FilePath, LineNumber, and the CommitID (Hash) for that file repo I have stored locally. I have it working except for I have not been able to ...
Austin Dady's user avatar
1 vote
0 answers
128 views

I would like to make a diff between two strings with libgit2sharp. The strings hold file contents loaded elsewhere. The diff.Compare-methods only take blobs, and the constructors of the Blobclass are ...
Kasper Marstal's user avatar

15 30 50 per page
1
2 3 4 5
34