Reflect on your 2024 year in code

"fatal remote origin already exists"

Greg Foster
Greg Foster
Graphite software engineer
Try Graphite


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].

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

Built for the world's fastest engineering teams, now available for everyone