6 questions
0
votes
0
answers
33
views
JGit RefNotFoundException When Checking Out Branch from Azure DevOps Repository while trying to access the branch
I'm using JGit to clone and interact with a Git repository hosted on Azure DevOps. My goal is to clone the master branch, checkout to my specified branch (branchName), update the <revision> ...
1
vote
1
answer
70
views
How does Github identify commits affecting a file path during a merge commit?
I've read in other posts that a commit with parents of size 2 usually means a merge commit. This allows me to filter out basically all of those merge commits that say merge pull request or merge ...
0
votes
1
answer
396
views
How to get the download link of all files in a repo?
With the following command, I'm able to get download_url for the files on my GitHub repo, but it doesn't include files that are inside folders:
curl -H "Authorization: token ghp_..." -H &...
0
votes
0
answers
288
views
getting unknown type name uint8_t errors when using libgit2 as a shared library
I'm trying to use the third-party library libgit2 in my C project, but I'm encountering errors when trying to compile. While using systems like github codespaces, Windows, or my MacOS X ventura ...
0
votes
1
answer
402
views
C# - 403 whith GitHub API request
I'm having an a 403 response when I try to get the content of a repo on GitHub.
Using a curl command "
curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer &...
0
votes
1
answer
195
views
git api - how to get parents (and their trees) of a commit?
I am working on a new git built-in. I am taking a commit (that I am pulling using lookup_commit_reference_by_name) and then I want to go through the parents to check their trees. I try to get the tree ...