Show information about a specific remote
suggest changeOutput 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
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents