github を CentOS で git clone

git を CentOS に install する

# yum install git

install された git の version を確認する

# git --version
git version 1.7.1

git の事前設定を行う。詳しくは github の help を参照する

# git config --global user.name "Your Actual Name"
# git config --global user.email "Your E-mail Address"


スポンサーリンク





repository が private の場合は、

# git clone https://user_name@github.com/user_name/repository_name.git"

repository が public の場合は、

# git clone https://github.com/ user_name/repository_name.git