- 追加された行はこの色です。
- 削除された行はこの色です。
* git show(リモートリポジトリの操作) [#j01a1758]
** リモートサーバの表示(originのURLの表示) [#yb6e4327]
git remote -v
** リモートリポジトリの追加 [#i7c4e18c]
git remote add shared-repo file:///$HOME/tmp/project1.git
** リモートリポジトリの削除 [#sf791167]
git remote rm shared-repo
** リモートリポジトリのURLの変更 [#t5667614]
git remote set-url origin git@bitbucket.org:foo/bar.git
ここではoriginのURLを変更。
** リモートリポジトリ参照名の変更 [#w0dd8a9c]
git remote rename origin ex-origin
orginからex-originへ。
** 参考 [#kdf32fff]
http://progit.org/book/ja/ch2-10.html