discussions Search Results · repo:gitpython-developers/GitPython language:Python is:public
Filter by
184 results
(66 ms)184 results
ingitpython-developers/GitPython (press backspace or delete to remove):
I checked the GitPython Tutorrial and GitPython API Reference but was unable to find how to perform a pull request using
GitPython.
wyatt-wongposted
20 days ago- 1
:
Can I use GitPython to diff two individual files that are not in a Git repo? Using the Diff class?
roadfarposted
on Dec 11, 2024- 3
:
I find that when i use commit1.diff(commit2,create_patch = true), chang_type of Diff is aways none. if create_patch =
False, i kown that i can get chang_type of Diff , but I can get hunk text.
Can i get ...
SongXueZhiposted
on Apr 2, 2024- 3
:
Hi,
Consider the following example:
import rich.progress
import git
from git import Repo
from rich.console import Console
console = Console(log_path=False)
class GitProgressPrinter(git.RemoteProgress): ...
jdumasposted
on Feb 7- 0
:
Hello!
I am running into an error when I try to fetch some refs from the remote of my repository. I have spent some time in the
GitPython docs but am still unable to work my head around where I could ...
mjgaughanposted
on Dec 10, 2024- 2
:
Hello, I have the following simple line: commits = repo.iter_commits(reference, **{ not : True}, all=True) which
generates the following: git.cmd:Popen([ git , rev-list , --not , --all , REF .... Unfortunately ...
ixSciposted
on Dec 4, 2024- 1
:
I came across an odd issue today, it could be an issue with the Windows Command prompt, but wonder if anyone has seen
this issue before. I am getting some information from a vendor s site using Selenium ...
Hoffman-Rihmposted
on Oct 19, 2024- 1
:
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?
jayjoshi64posted
on Oct 17, 2024- 2
:
How one can one which is the default branch? main/master?
One can know about this by iterating all heads and then manually check , but that is also have one issue. What if a
repository has both the branches ...
dsharma522posted
on Oct 20, 2021- 8
:
I am updating code that was previously Linux-only to support Windows, and my tests are failing on Windows with errors
like
ERROR: Cmd( git ) failed due to: exit code(128)
cmdline: git clone -v -- ssh:// ...
stevecjposted
on Oct 3, 2024- 2