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
Since Git 2.7, this prints the same URL without using git config:
git remote get-url origin
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents