Data report"State of code review 2024" is now liveRead the full report

"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 gud
"It's the first Git workflow I've used that actually feels good."
–@robboclancy
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