忍者ブログ

Home > > fatal: remote origin already exists.

[PR]

  • 2024-04-20

Share on Tumblr このエントリーをはてなブックマークに追加

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

Comments:

Trackback+Pingback:

Listed below are links to weblogs that reference
[PR] from Born Neet

Home > > fatal: remote origin already exists.

Home > メモ > fatal: remote origin already exists.

fatal: remote origin already exists.

Share on Tumblr このエントリーをはてなブックマークに追加

sourceforgeで作ってたのをgithubに移行しようとしたら、

fatal: remote origin already exists.

って怒られた。
ので、github - gitの使いかた - 綾小路龍之介の素人思考を参考にoriginを登録しなおした。

$ git remote rm origin
$ git remote add origin git@github.com:you/yourrepo.git
$ git push -u origin master

うまくいった。

PR

Comments:0

Comment Form

Trackback+Pingback:

TrackBack URL for this entry
Listed below are links to weblogs that reference
fatal: remote origin already exists. from Born Neet

Home > メモ > fatal: remote origin already exists.

Search
Loading
Feeds
Links
スポンサードリンク

Page Top