"fatal remote origin already exists"

Greg Foster
Greg Foster
Graphite software engineer


Note

This guide explains this concept in vanilla Git. For Graphite documentation, see our CLI docs.


You are trying to add a remote named "origin" but it already exists in your repository.

A remote named "origin" is automatically created when you clone a repository, or you might have added it previously.

Use a different name for the new remote, or update the existing remote with git remote set-url origin [new-url].

Git inspired
Graphite's CLI and VS Code extension make working with Git effortless.
Learn more

Graphite
Git stacked on GitHub

Stacked pull requests are easier to read, easier to write, and easier to manage.
Teams that stack ship better software, faster.

Or install our CLI.
Product Screenshot 1
Product Screenshot 2