실행 환경 : CentOS6.x [Redhat 64 bit]
git clone 시 repository URL 이 SSL(https) 일 경우 Fatal Error
$ git clone https://git.afreecatv.com/server/Editer.git Initialized empty Git repository in /k3/afreeca/server/VodSystem/Git_Editer/Editer/.git/ error: The requested URL returned error: 401 Unauthorized while accessing https://git.afreecatv.com/server/Editer.git/info/refs fatal: HTTP request failed
원인 : git -version으로 gitlab이 지원하는 version인지 확인 (default : git 1.7.1)
해결 방법
: * Gitlab은 Git 1.8버전부터 지원, 최신 Git을 다음과 같이 설치$ git --version 확인 (git version 1.7.1일시) $ rpm -Uvh http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm $ yum --enablerepo=WANdisco-git --disablerepo=base,updates info git $ yum --enablerepo=WANdisco-git --disablerepo=base,updates install git $ git --version // 바뀐 Git, git version 2.22.0(2019-07-10) $ git clone https://.../.git //이후 로그인 인증 후 Clone 진행
Congratulations @dothebest0927! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit