[git] fatal: remote origin already exists.

1. 症状

git remote add コマンドを実行するとエラーとなる。

 

2. 解決方法

origin の設定を削除する。

 

3. 原因

remote origin の設定が .git/config に既に存在している。