Help us understand the problem. What is going on with this article?

gitでremoteの情報を書き換える方法

More than 5 years have passed since last update.

GUIのGitHub for Macを使ってgit remote add したときに、https で addされていたらしく、gh-pagesへterminalでdeployしようとした際にdeployできなかった時の対応方法。
remote の情報を書き換える。

$ git remote set-url origin git@github.com:userid/repogitory-name

この後にdeployの処理をして、gh-pagesへdeploy出来た。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away