9
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Gitでリモートレポジトリの登録、確認、更新、削除(git remote)

Posted at

忘れちゃうのでメモ。

リモートリポジトリの登録

$ git remote add <name> <url>

登録されているリモートリポジトリの確認

-v をつけると詳細情報

$ git remote
$ git remote -v

リモートリポジトリURLの編集

$ git remote set-url <name> <newurl>

リモートリポジトリ名の変更

$ git remote rename <old> <new>

リモートリポジトリの削除

$ git remote rm <name>
9
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?