Files
30-seconds-of-code/snippets/view-remote-url.md
Angelos Chalaris fb4b6fbc8e Update covers
2023-02-16 22:24:37 +02:00

22 lines
448 B
Markdown

---
title: View the remote URL
tags: repository
author: chalarangelo
cover: red-mountain
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
```