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

Appearance settings

Git: add push url #297

Copy link
Copy link
Open
Open
Copy link
@jensens

Description

@jensens
Issue body actions

I need a way to add a push URL. At the moment at
https://github.com/vcs-python/libvcs/blob/master/libvcs/git.py#L391
it is already possible to add an URL or overwrite one. But the --push parameter is not supported (see https://git-scm.com/docs/git-remote).
I would like to be able do something like:

repo.set_remote("origin", "some-url", push=True)

I can provide an PR if this is something considered for merge.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.