티스토리 뷰

728x90
반응형

gitlab으로 레포지토리 몇개를 옮겼는데 운영중인 서버에서 git clone을 하려니깐 아래와 같은 오류가 발생하더라구요

 

 

error: The requested URL returned error: 401 Unauthorized while accessing

 

 

구글링 해보니깐 git 버전이 낮아서 그러니 업그레이드 하라고 하더라구요

 


그래서 설치된 git 버전이 무엇인지 보니깐 1.7.1 이었습니다.

 

이걸 최신 버전으로업그레이드 해야겠네요

 

 

그런데 yum update 로는 최신 패키지가 받아지지 않아서 아래의 방법을 사용했습니다

 

 

사용하는 centos 버전에 따라 설치를 해주시고

 

yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
- or -
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm
- or -
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm


$ yum install git

 

하면 끝


$ git --version

2.22.0

 

최신 버전의 숫자가 나온다면 성공!

 

728x90
반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함