remote origin already exists github code example

Example 1: fatal: remote origin already exists.

git remote rm origin

Example 2: fatal: remote origin already exists.

git remote set-url origin https://github.com/your/repository

Example 3: remote origin already exists.

git remote set-url origin [email protected]:ppreyer/first_app.git

Example 4: git fatal: remote origin already exists.

git remote set-url origin https://github.com/your/repository

Example 5: fatal: remote origin already exists.

$ git remote set-url origin [email protected]:ppreyer/first_app.git

Tags:

Misc Example