32
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

No such remote 'origin'

remoteの設定を行おうと思ったらエラーが出た

git remote set-url origin https://github.com/KTakata/poke_app.git
fatal: No such remote 'origin'

原因は一番最初にremote addしていなかったから...(ォィ
なので正しくは

git remote add origin https://github.com/KTakata/poke_app.git

あくまで
remote set-url origin hugahuga
は一度設定しているremoteの向き先を変えるってお話

そんな備忘録

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
32
Help us understand the problem. What are the problem?