両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン |
linux:git [2023/07/19 09:31] – [シャロークローン (shallow clone) [git clone --depth 1]] ともやん | linux:git [2023/07/22 05:19] – [リモートリポジトリ] ともやん |
---|
* branch b7f5d8d735b280fc77673c4a29f0436a92ca6660 -> FETCH_HEAD | * branch b7f5d8d735b280fc77673c4a29f0436a92ca6660 -> FETCH_HEAD |
Submodule path 'src/libhamcore': checked out 'b7f5d8d735b280fc77673c4a29f0436a92ca6660' | Submodule path 'src/libhamcore': checked out 'b7f5d8d735b280fc77673c4a29f0436a92ca6660' |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ===== リモートリポジトリ ===== |
| クローンしたローカルリポジトリのリモート URL を表示する...🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>cd</b> jupyter-binder |
| <b class=GRN>$</b> <b class=HIY>git</b> remote get-url origin |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| https://github.com/tomoyan596/jupyter-binder.git |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ローカルリポジトリのリモート URL を SSH の URL に変更する😊\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>git</b> remote set-url origin git@github.com:tomoyan596/jupyter-binder.git |
| <b class=GRN>$</b> <b class=HIY>git</b> remote get-url origin |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| git@github.com:tomoyan596/jupyter-binder.git |
| </pre></html></WRAP> |
| </WRAP> |
| |
| ローカルリポジトリのリモート URL を HTTPS の URL に変更する😊\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>git</b> remote set-url origin https://github.com/tomoyan596/jupyter-binder.git |
| <b class=GRN>$</b> <b class=HIY>git</b> remote get-url origin |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| https://github.com/tomoyan596/jupyter-binder.git |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |