I'm working on porting some python2 code to python3 - single codebase. I'm using pygit2 0.28.2 on cpython 2.7, and pygit2 1.9.2 on cpython3.10, at lea ...
I'm working on porting some python2 code to python3 - single codebase. I'm using pygit2 0.28.2 on cpython 2.7, and pygit2 1.9.2 on cpython3.10, at lea ...
file path = repo_name/abc/xyz.yml repo (is the git repo object) I want to be able to check if the repo consists of the file by returning a Boolean. ...
Using the pygit2 package how do you create an initial commit on a new repository? I keep getting an error message that "refs/heads/master" isn't foun ...
How get list submodules in git bare repo without create working tree? (with low level library libgit2 or git console)? ...
This works fine for me using pygit2: Clone master branch of a repo Create a branch Make some changes Push branch to origin This is failin ...
I am trying to pull filesfrom git using python but it's not working. Below is the code I was using: it asks for authentication and after that termi ...
I am facing an issue with AWS lambda function. I am unable to import pygit2 library into my function. I tried it on 4 different runtime environments a ...
Title says it all. I am using pygit2 and trying to figure out how to achieve following that I can do using git cli: git remote set-branches origin rem ...
I'm trying to automate the task of creating and cloning a repository in my remote, when I run the following code, it seems that the method I'm trying ...
This is the script to get the current branch name in git using ssh key Error:It is showing repository not found.Please help to get the current bran ...
I want to get the file contents of all the files in the repo [changed and unchanged] using the Python [PyGitHub API]. But not sure how to achieve it. ...
I'm writing python program to work with git repositories, it works right on win7, but I'm also need this program to work on win xp (win xp supports py ...
I am using pygit2 to merge some branches of a project, however whenever I merge them I end up with: in my code. When I check the repo with 'git sta ...
I'd need to walk on entire repo's branches commits. I have tried this but with no success. : Any help would be appreciated, thanks. ...
I am developing a python package based on pygit2. pygit2 depends on libgit2. Ubuntu 18.04 has version libgit2-2.6 Ubuntu 18.10 has version libgit2-2 ...
I am trying to configure remote github repo as the salt server root but it can't make the authentication successful with the pub/priv keypair. I have ...
How can I create a new GitHub repository, clone it, change files, and then push it back to github using python and the pyGitHub and pyGit2 libraries? ...
Trying to install libgit2 and pygit2 in docker. Keep running into errors no matter how I try. Thank you for any help you can provide ...
Now i'm using git svn for cloning repos, when i want to get all their commits and store whem to the db. For getting all the commits i use pygit2.Repo ...
I am using pygit2 to access that status of the repo I dont seem to be able to find any documentation on how to interpret the flags Could someone p ...