Unwanted duplicate remote for git
When I try to push to git, there are 2 remotes both pointing to the same place.
If I got to Git then manage remotes and delete the unwanted duplicate, the the item still appears in the list in the left column of the push dialog but now says Define remote. This also greys out the push button.
It seems I can get it working by keeping the duplicate defining the remote (the same as the original) and unchecking it each time I want to push.
“Git remote -v” and the .git/config file both only show one remote.
If I don't define the remote and the push button is greyed out, I can still push using “git push origin main” in the terminal window.
Commit works fine.
This is not stopping me working, but is irritating.
Please sign in to leave a comment.