Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
2 votes
0 answers
57 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
1 answer
56 views

I'm publishing a .NET Framework 4.8 application using ClickOnce, and I have a persistent issue with LibGit2Sharp.NativeBinaries. Every time I build and publish, files like libgit2-3f4182d.so.deploy ...
mattia cedone's user avatar
0 votes
0 answers
153 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
1 vote
1 answer
296 views

I am using libgit2sharp within an ASP.NET MVC application writtein in C# and running on IIS v.10.0 (Windows Server 2019). It is working well to execute git commands against the local server's git ...
Martin_W's user avatar
  • 1,857
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
2 answers
71 views

Context: I have a git repo named "gitcode" I have a forked repo named "gitcode_forked" And I want to merge the branch "gitcode\develop" into "gitcode_forked\...
Dominique BOYER'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
1k views

I am using LibGit2Sharp in a custom git client, works fine on my machine but when I run the same code on a different machine with the same credentials I am getting the error: unknown certificate ...
scottdf93's user avatar
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
3 votes
1 answer
144 views

... where by any assembly I mean also assemblies that depend on assemblies which are wrappers of native libraries. The Minimal, Reproducible Example for this question is here: https://gitlab.com/...
Mike Nakis's user avatar
  • 63.1k
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
0 votes
1 answer
226 views

It is possible to clone the repository using 'libgit2sharp'. But I need, only some specific files from the repository. Like search with a filename and then download/save. I tried like below, but ...
sijovw's user avatar
  • 99
-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
1 answer
148 views

I initially thought this should be trivial, but how exactly can one get the commit to which a Tag object refers to in LibGit2Sharp? Naively I thought we could get the sha by using Tag.TargetIdentifier ...
glopes's user avatar
  • 4,440
1 vote
0 answers
132 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