Files
30-seconds-of-code/snippets/git/s/view-remote-url.md
2023-05-07 16:07:29 +03:00

23 lines
442 B
Markdown

---
title: View the remote URL
type: snippet
language: git
tags: [repository]
author: chalarangelo
cover: red-mountain
dateModified: 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
```