Skip to content

Changing the repository URL only changes the fetch url #553

@DaKaLKa

Description

@DaKaLKa

Using version 8.33 with git version
grafik

I have changed the remote URL of the origin to a new URL:
grafik

But this only changes the url for the fetch - push is still using the "old" url.
grafik

I think the
https://github.com/sourcegit-scm/sourcegit/blob/master/src/Commands/Remote.cs#L37
should execute a second git command with the "--push"-option
or there should be two options to set the fetch and pull url (maybe one is optional and use the fetch if no pull url is defined)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions