View the remote URL

Git, Repository · Apr 13, 2021

Displays the URL of the remote repository.

  • Use git config --get remote.origin.url to view the URL of the remote repository.
git config --get remote.origin.url
git config --get remote.origin.url
# https://github.com/30-seconds/30-seconds-of-code

Written by Angelos Chalaris

I'm Angelos Chalaris, a JavaScript software engineer, based in Athens, Greece. The best snippets from my coding adventures are published here to help others learn to code.

If you want to keep in touch, follow me on GitHub or Twitter.

More like this