1. yum을 통한 git 설치


[root@localhost smoh]# yum install git

[root@localhost smoh]# git --version



2. Git 설정.

[root@localhost smoh]# mkdir myWeb
[root@localhost smoh]# cd myWeb
[root@localhost myWeb]# git init
[root@localhost myWeb]# git remote add myweb (저장소주소)
[root@localhost myWeb]# git remote -v


3. pull

[root@localhost myWeb]# git pull myweb master


반응형

+ Recent posts