View the remote URL

Angelos Chalaris · 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

Recommended snippets