Skip to content

Pull raises GitCommandError with no error message #856

Open
@Carbenium

Description

@Carbenium

GitPython: 2.1.11
Python: 3.5
Git: 2.20.1

repo.remotes.orgin.pull() can lead to GitCommandError with no error message.

Running git pull in the terminal leads to exit code 1 and following error message :

Your configuration specifies to merge with the ref 'refs/heads/patch1'
from the remote, but no such ref was fetched.

The GitCommandError should contain the message as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions