fork-dev / Tracker

Bug and issue tracker for Fork for Mac
498 stars 12 forks source link

Edit remote URL: Should also allow editing pushUrl #1981

Closed jnehlmeier closed 8 months ago

jnehlmeier commented 9 months ago

I have a git repository which config contains

[remote "origin"]
        url = https://domain/git-project
        pushurl = https://domain/git-project
        fetch = +refs/heads/*:refs/remotes/origin/*

I wanted to update the remote URL in the Fork UI and after doing so only url was changed and I still pushed to the old url. I wasn't aware that the config of that project had url and pusher configured, so it was a bit unfortunate that I could not see this in Fork.

Maybe the "edit remote" UI should show both urls if available so they can be both edited.

DanPristupov commented 9 months ago

https://github.com/fork-dev/Tracker/issues?q=pushUrl