GitPython
GitPython copied to clipboard
GitPython is a python library used to interact with Git repositories.
## Bug Report ### Description The `parse_date` function returns a wrong result, when using an RFC 2822 date with timezone. ``` In [24]: parse_date('Thu, 20 May 2021 13:38:44 +0300') Out[24]:...
It seems that if `index.add()` is called with `path_rewriter`, it would cancel out the logic for automatic directory paths expansion and traversal. My use case is to call `add` with...
Just wanted to leave a note since I couldn't find documentation on it anywhere and it took me a while to figure it out. In order to checkout an orphan...
The function submodule_update gets confused when there are multiple submodules, especially when one of the submodules has an update. In that case the commit hash is used for the wrong...
Hi there, as stated in the docs, there is a `kill_after_timeout` parameter to the `GitCmd.execute` method which does exactly what it's supposed to be when, e.g., given to a `repo.git.push`...
Steps to reproduce: 1. Check out the active branch. 2. Make an `IndexFile` object 3. Stage changes by calling `.add()` on that object 4. Write that object's state using `.write()`...
Error in `repo.active_branch` if branch is in `DETACHED HEAD` state: ``` {TypeError}HEAD is a detached symbolic reference as it points to '0fa1f2a7d9dd9fb63fa775d2d97ad72f56f1d819' ``` The branch is `None` in `def _get_ref_info(cls,...
Following is the snippet of the code I am using. ```python import git repo = git.Repo(search_parent_directories=True) branch = repo.active_branch ``` After running the code, I have received the following error....
Hello, I am a new GitPython user and I would like to display a progress bar when cloning locally a large GitHub repository. To begin with, I have created a...
# Description I am using `GitPython` to sign tags as such: ```python repo.git.tag( "-s", "v{}".format(str(new_version)), "-m Version {}".format(str(new_version)), ) ``` This fails with the following error/exception: ```python Traceback (most recent...