Source: How to remove remote origin from a Git repository

← Rendered

markdown source:

---
description: Как удалить или изменить remote для локального git репозитория
tags: git
title: How to remove remote origin from a Git repository
---
Удалить текущий и добавить новый:

```shell
git remote set-url origin git://new.url
```

Удалить текущий

```shell
git remote remove origin
```

[[git]]




[git]: ../lists/git "Git"