DebianへGitをインストールします。
1
apt-get install git-core
1 2 3 4 5 6 7 8
- ! - ! - ! - !
# 名前を設定 git config --global user.name "paburica@hogeServer" # アドレス設定 git config --global user.email "[email protected]" # 色設定 git config --global color.ui auto # ページャ設定 git config --global core.pager "lv -c"
# リモートリポジトリ Host hub # ログインユーザー User git # ホスト名(名前解決出来ない場合は、ここにアドレスを指定します) Hostname 192.200.54.2 # 秘密鍵のパス IdentityFile [秘密鍵のパス]
1 2
- !
# 以降、以下のようなアドレスでアクセス出来るようになります git clone ssh://hub/~git/~