Files
30-seconds-of-code/snippets/view-remote-url.md
Isabelle Viktoria Maciohsek ed2f41b0d8 Bake dates into snippets
2021-06-13 19:47:48 +03:00

20 lines
420 B
Markdown

---
title: View the remote URL
tags: repository,intermediate
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
```