Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
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

git list remotes - How to list out the remotes for a Git repository?
Intellipaat-community
by (19.4k points)
Thanks. It was helpful.

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...