差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
linux:git [2023/07/20 13:28] – [リモートブランチの最新に合わせる] ともやん | linux:git [2023/07/22 05:21] – [リモートリポジトリ] ともやん | ||
---|---|---|---|
行 151: | 行 151: | ||
===== リモートリポジトリ ===== | ===== リモートリポジトリ ===== | ||
+ | |||
+ | ==== ローカルリポジトリのリモート URL を表示/ | ||
+ | クローンしたローカルリポジトリのリモート URL を表示する...🤔\\ | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
<b class=GRN> | <b class=GRN> | ||
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
- | git@github.com:tomoyan596/ | + | https://github.com/tomoyan596/ |
</ | </ | ||
</ | </ | ||
+ | ローカルリポジトリのリモート URL を SSH の URL に変更する😊\\ | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <b class=GRN> | + | <b class=GRN> |
<b class=GRN> | <b class=GRN> | ||
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
- | https://github.com/tomoyan596/ | + | git@github.com:tomoyan596/ |
</ | </ | ||
</ | </ | ||
+ | ローカルリポジトリのリモート URL を HTTPS の URL に変更する😊\\ | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <b class=GRN> | + | <b class=GRN> |
<b class=GRN> | <b class=GRN> | ||
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
- | git@github.com:tomoyan596/ | + | https://github.com/tomoyan596/ |
</ | </ | ||
</ | </ | ||
- | |||
===== リモートブランチの最新に合わせる ===== | ===== リモートブランチの最新に合わせる ===== |