Gitでfatal: remote origin already exists. が出るとき

originを削除して、あらためてaddする

$ git remote rm origin
$ git remote add origin git@github.com:ユーザ名/リポジトリ名.git
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.