Nest all content into snippets

This commit is contained in:
Angelos Chalaris
2023-05-07 16:07:29 +03:00
parent 2ecadbada9
commit 6a45d2ec07
1240 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,22 @@
---
title: Change the remote URL
type: snippet
language: git
tags: [repository]
author: chalarangelo
cover: rocky-lake
dateModified: 2021-04-13T21:10:59+03:00
---
Changes the URL of the remote repository.
- Use `git remote set-url origin <url>` to change the URL of the remote repository to `<url>`.
```shell
git remote set-url origin <url>
```
```shell
git remote set-url origin https://github.com/30-seconds/30-seconds-of-code
# The remote URL is now "https://github.com/30-seconds/30-seconds-of-code"
```