Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
github リポジトリの名前を変更したところ、(予想どおり) ローカル リポジトリが見つかりません。名前を更新するにはどうすればよいですか、それとも新しいリモート リポジトリとして扱うべきですか?
私がこれを読んだ方法から、あなたはあなたのリポジトリの名前を変更し(それはそれのURLを変更しました)、そして今あなたは新しいリポジトリの場所と一致するようにURLを更新したいということです。
を使用git remote set-url <remote-name> <new-url>して、既存のリモートリポジトリのURLを切り替えることができます。
git remote set-url <remote-name> <new-url>