New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
リポジトリ名を修正(cord-player -> chord-player) #4
Comments
リポジトリ名変更後にVercelへのデプロイがどうなるか |
まずGitHub上のSettingでリポジトリ名をRenameした |
次にローカルのリポジトリURLを変更
configファイルのremote "origin"のurlが変わった |
Vercelのプロジェクト内にProject Settingsというページがあり、そこでプロジェクト名を変えられそう。 「chord-player」に変更してみる |
このコミットはデプロイエラーになった
「次のエラーのため、デプロイメントにドメインを割り当てることができませんでした。 |
Vercelのプロジェクト内のSettingsのdomainsでドメインも変更してみる。 |
デプロイがうまくされないため、新プロジェクトを作ることにする。 旧プロジェクトは「-bk」付きに再度リネイム。ドメインも。 |
Vercelで新規プロジェクトを作成。 |
新プロジェクトへのデプロイが成功したあと、旧プロジェクト(-bk版)のデプロイもなぜか成功するようになった。 |
次はコードの中にある「cord」や「code」を「chord」に打ち替えていきたい。 キャメルケースの大文字小文字が検索置換で区別されるようにする(「aA」アイコンを選択) |
リポジトリ、デプロイ、コード内の綴りを「chord」で統一できた。クローズ。 |
綴りが間違えていた。。
https://ja.wikipedia.org/wiki/%E5%92%8C%E9%9F%B3#:~:text=%E5%92%8C%E9%9F%B3%EF%BC%88%E3%82%8F%E3%81%8A%E3%82%93%E3%80%81%E8%8B%B1%E8%AA%9E%3A,%E9%9F%B3%E3%81%AE%E3%81%93%E3%81%A8%E3%81%A7%E3%81%82%E3%82%8B%E3%80%82
リポジトリの変更方法
https://docs.github.com/ja/github/administering-a-repository/managing-repository-settings/renaming-a-repository
https://qiita.com/hirokt/items/583e8dbe4970bc8c25c8
コードの中にもcordと書いている場所があるので一緒に直す
The text was updated successfully, but these errors were encountered: