Search code examples
gitgit-bashgit-remote

'git remote -v' delete unwanted repositories locally


when I type git remote -v in git bash I get a list of all the repository urls, the problem is they are all outdated I want to delete all of them. How would I go about doing this?


Solution

  • You can remove remotes by their names using git remote remove. E.g.:

    $ git remote remove myremote