A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://stackoverflow.com/questions/tagged/gitpython below:

Newest 'gitpython' Questions - Stack Overflow

1 vote

0 answers

105 views

Github access token for Apps

I have a GitHub App configured with a Webhook that listens to Github events. The App is installed on a private repo and has both read and write permissions. git clone https://x-access-token:<TOKEN&...

asked Dec 11, 2024 at 16:42

0 votes

0 answers

110 views

GitPython unable to execute command in existing repository

I am trying to run a script with GitPython, but it seems to only fail when I run from inside the Jenkins automation environment. The error that it gives isn't very helpful (and I haven't been able to ...

asked Nov 12, 2024 at 3:33

0 votes

0 answers

27 views

How to get git patch-id using GitPython?

This is command-line syntax to get patch-id for a commit git show HEAD | git patch-id reference: https://git-scm.com/docs/git-patch-id Q: How can I get the same output using GitPython?

asked Oct 17, 2024 at 19:30

1 vote

1 answer

204 views

Add safe directory with gitpython

How do I run this git command with gitpython(v2.1.*), please ? git config --global --add safe.directory "some_dir" Couldn't find in doc. I tried this: repo = git.Repo.init(some_dir) config =...

asked Sep 25, 2024 at 9:26

0 votes

0 answers

22 views

How to check for new commits in remote in a submodule without merging them [duplicate]

I want to check if a submodule has new commits. I want to use gitpython. Can i use git submodule status? I use: git submodule update -N and other git commands. The main task is to see if there are new ...

asked Sep 5, 2024 at 6:46

0 votes

1 answer

95 views

Azure devops throwing stderr: 'fatal: You are not currently on a branch.' when trying to push the code to checked out branch using GitPython library

I am trying to check out a git branch,generate files using python code and then push the changes to the branch using GitPython library Below is the code used repo = git.Repo(...

asked Aug 13, 2024 at 10:09

0 votes

2 answers

96 views

How can I get head of branch with illegal characters in it

I know you can get the head of a branch directly using it's name (e.g. repo.heads.main). Can you get the head of a branch that has illegal variable characters (e.g. feature-generate-events) directly ...

asked Aug 9, 2024 at 21:52

0 votes

0 answers

115 views

Trouble pushing to Git remote using GitPython: "remote unpack failed" and "RPC failed; HTTP 500"

I'm encountering issues when trying to push changes to a Git remote repository using GitPython. I'm receiving two different errors intermittently, and I'm unsure how to resolve them. Error 1 error: ...

asked Mar 29, 2024 at 16:05

0 votes

0 answers

111 views

Get all the commits message of a file using GitPython

I have the following piece of code to get the list of commit summaries of a specific file: from git import Repo repo_working_dir = '<valid directory of the repo>' repo = Repo(repo_working_dir) ...

asked Mar 14, 2024 at 0:00

0 votes

1 answer

728 views

Git diff against master branch using GitPython

I must be dense, but I haven't been able to find a solution yet. I am trying to get a list of all of the members (in all commits or not committed yet) that have changed on a branch in my Python ...

asked Feb 14, 2024 at 20:22

0 votes

0 answers

143 views

Clone ssh git repositories using python 3

I have this Python Script that clones a list of length n of repositories using ssh. import pandas as pd import time import git import sys import os counter = 0 #excel reader resources = pd....

asked Feb 7, 2024 at 22:18

0 votes

0 answers

58 views

Last git changes on a given file

Using the gitpython library, I'm trying access the date of the last changes on a given file. So far I only found out how to: import git # get a handle on a repo object for the current directory repo=...

asked Feb 5, 2024 at 16:14

0 votes

1 answer

251 views

How to call rev_list with GitPython

This program fails import git repo = git.repo.Repo('..') res = repo.git.rev_list('--since="2024-01-01" master').split('\n') with the following error git.exc.GitCommandError: Cmd('git') ...

asked Jan 29, 2024 at 15:16

1 vote

0 answers

104 views

Continuously print output of GitPython git.execute()

I'm running a command with GitPython git.execute(). Currently, I'm writing the return value to a window. Because the command takes some time, the window will not show any progress for a few seconds ...

asked Dec 11, 2023 at 18:52

0 votes

1 answer

135 views

Write to PySimpleGUI.Multiline from logging.Handler throws exception

I have a PySimpleGUI with a button and a multiline. When I click on the button, a method is called and running for a couple of seconds (calls i.a. GitPython methods). The method shall write its output ...

asked Dec 7, 2023 at 7:30

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4