#author("2024-12-16T12:49:03+09:00","default:Miyashita","Miyashita")
*リモートリポジトリの url の変更 [#pe56a9f5]
**方法 [#s065435b]
昔のリポジトリで,git@〜 ではなくて https〜 になっていたのを直したかった.
#codeprettify{{
$ git remote -v
origin  https://github.com/username/repositoryname (fetch)
origin  https://github.com/username/repositoryname (push)
}}
これは git remote set-url で変更できる.~
git@〜 にするには,https:// を git@に,username/ を username: にする.
#codeprettify{{
git remote set-url origin git@github.com:username/repositoryname
}}



Front page   Edit Diff Attach Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes