18 lines
338 B
Markdown
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
|
|
```
|