Files
30-seconds-of-code/snippets/view-remote-url.md
2021-04-08 19:42:57 +03:00

18 lines
338 B
Markdown

---
title: View the remote URL
tags: repository,intermediate
---
Displays the URL of the remote repository.
- Use `git config --get remote.origin.url` to view the URL of the remote repository.
```sh
git config --get remote.origin.url
```
```sh
git config --get remote.origin.url
# https://github.com/30-seconds/30-seconds-of-code
```