Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
1 view
in DevOps and Agile by (29.3k 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 (50.2k 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 (19.4k points)
Thanks. It was helpful.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.2k users

Browse Categories

...