Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remote URL cannot be accessed for git < 2.7 if SSH isn't working #694

Closed
@rgerkin

Description

@rgerkin

If the system git is < 2.7, and the URL is one that git expects to use SSH access on, but SSH isn't working for any reason, thenself.repo.git.remote("show", self.name)here in remote.py will fail with:

GitCommandError:Cmd('git')faileddueto:exitcode(128)cmdline:gitremoteshoworiginstderr: 'Permissiondenied (publickey).fatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.'

or related errors if SSH is not installed or on the path.

This can be fixed by falling back togit config --get remote.%s.url' % self.name which just reads the URL directly from the configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp