+1 vote
1 view
in Devops and Agile by (19.5k points)
edited by

I have a Git repository. This repository has multiple remote repositories. How can I get a list of the remote repositories that belong to a repository?

Like git list --remotes or something like that?

1 Answer

+2 votes
by (33.8k points)

yes, there is a way to see the list of configured remotes in a git repository by using:

git remote -v

This command will help you to see the list of remotes in the git repository.

For future reference: https://git-scm.com/docs/git-remote#Documentation/git-remote.txt--v

by (14.6k points)
Thanks. It was helpful.
...