git show(リモートリポジトリの操作)リモートサーバの表示(originのURLの表示)git remote -v リモートリポジトリの追加git remote add shared-repo file:///$HOME/tmp/project1.git リモートリポジトリの削除git remote rm shared-repo リモートリポジトリのURLの変更git remote set-url origin git@bitbucket.org:foo/bar.git ここではoriginのURLを変更。 リモートリポジトリ参照名の変更git remote rename origin ex-origin orginからex-originへ。 参考 |
|