研究室の git サーバが移行することになったので,ローカルの git の設定の変更方法を残しておきます。
$ git remote set-url [name] [URL]
例:
$ git remote set-url origin git@git.example.com:foo/bar.git
ちなみに…
$ git remote
で,そのローカルリポジトリのリモートリポジトリ名の一覧が表示されます!
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
研究室の git サーバが移行することになったので,ローカルの git の設定の変更方法を残しておきます。
$ git remote set-url [name] [URL]
例:
$ git remote set-url origin git@git.example.com:foo/bar.git
ちなみに…
$ git remote
で,そのローカルリポジトリのリモートリポジトリ名の一覧が表示されます!
Register as a new user and use Qiita more conveniently
Go to list of users who liked