Skip to content

discussions Search Results · repo:gitpython-developers/GitPython language:Python is:public

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.

Can I use GitPython to diff two individual files that are not in a Git repo? Using the Diff class?

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 ...

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): ...

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 ...

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 ...

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?

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 ...

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:// ...