IT/Infra

[Centos7] Git 설치

infe91 2019. 12. 12. 23:32
  1. git 설치 여부 확인

    $ git --version
    $ -bash: /bin/git: 그런 파일이나 디렉터리가 없습니다  
  2. centos 7 에서 rpm으로 Wandisco 사의 repository 를 설치.

    $ rpm -Uvh [http://opensource.wandisco.com/centos/7/git/x86\_64/wandisco-git-release-7-2.noarch.rpm](http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm)  
  3. yum 을 통하여 git 설치

    $ yum install git  
  4. git version 체크

    $ git --version