【Git】リモートリポジトリを追加する

以下の記事の続きの内容となる。

ターミナルを開いて、以下のコマンドを実行する。

git remote add origin https://github.com/ユーザ名/sample.git

以下のコマンドで、リモートリポジトリが追加されたかを確認できる。

git remote -v

以下の記事に続く。

参考

Git - git-remote Documentation
タイトルとURLをコピーしました