magithub icon indicating copy to clipboard operation
magithub copied to clipboard

Avoid adding a remote if it already exists under a different name

Open ericdanan opened this issue 6 years ago • 1 comments

If I make a PR in a repo of mine, then magithub will add the repo as a new remote with my username although it is the same as the origin remote. Could this be avoided? Perhaps by testing whether a remote with the same url already exists?

ericdanan avatar Aug 30 '17 20:08 ericdanan

Yes, this shouldn't be happening and was an oversight.

vermiculus avatar Aug 30 '17 20:08 vermiculus