Show information about a specific remote

suggest change

Output some information about a known remote: origin

git remote show origin

Print just the remote’s URL:

git config --get remote.origin.url

With 2.7+, it is also possible to do, which is arguably better than the above one that uses the config command.

git remote get-url origin

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents