Question

Is there a way to display all known information about a repository's remotes, either individually or all at once?

Was it helpful?

Solution

It's easy:

git remote show
git remote show <specific-remote>

OTHER TIPS

You can see the raw configuration

cat .git/config

or use the remote subcommand

git remote -v

git remote should work in this case.

git remote show origin (or any other remotes you may have).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top