fatal: remote origin already exists. 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: fatal: remote origin already exists.
git remote set-url origin https://github.com/your/repository
Example 4: fatal: remote origin already exists.
git remote set-url origin https://github.com/your/repository
Example 5: fatal: remote origin already exists.
git remote rm origin
git remote add origin git@github.com:username/myapp.git
Example 6: fatal: remote origin already exists.
$ git remote set-url origin git@github.com:ppreyer/first_app.git
Example 7: fatal: remote origin already exists.
$ git remote set-url origin git@github.com:ppreyer/first_app.git