remoto設定

git remote add 適当なリポジトリ名 ssh://configのHostName/~.git

ローカルリポジトリのディレクトリ内で上記のコマンドを実行すると、クライアントの「\gitpro\.git\config」に接続情報を記載する。

.git」は隠しファイルなので注意。

 

remote設定の確認

git remote -v

 

remote設定の削除

git remote rm 「remote addで設定したリポジトリ名」