Files
30-seconds-of-code/snippets/view-remote-url.md
2022-03-22 12:02:38 +02:00

22 lines
452 B
Markdown

---
title: View the remote URL
tags: repository
expertise: intermediate
author: chalarangelo
firstSeen: 2021-04-08T19:42:57+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
---
Displays the URL of the remote repository.
- Use `git config --get remote.origin.url` to view the URL of the remote repository.
```shell
git config --get remote.origin.url
```
```shell
git config --get remote.origin.url
# https://github.com/30-seconds/30-seconds-of-code
```