[git] git 1.7 https 버그.
[git] git 1.7 https 버그.
git client 를 이용해서 push를 하려는데 자꾸 아래와 같은 오류가 발생 하였습니다.
$ git push -u origin master
error: The requested URL returned error: 401 Unauthorized while accessing
fatal: HTTP request failed
옴마???!!
설정이 잘못 되었나?? 생각 했었는데 알고봤더니 git 1.7에서 https관련 버그가 있다고 하여 1.8로
upgrade하면 된다는 정보를 입수!
$ git -version
Unknown option: -version
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]
[juno@juno eapp_api]$ git --version
git version 1.7.1
혹시나 했는데 역시나 1.7 이였습니다.
$ wget http://springdale.math.ias.edu/data/puias/computational/6/x86_64/git-1.8.3.1-1.sdl6.x86_64.rpm
$ wget http://springdale.math.ias.edu/data/puias/computational/6/x86_64/perl-Git-1.8.3.1-1.sdl6.noarch.rpm
$ sudo yum localinstall git-*.rpm perl-Git-*.noarch.rpm
git-1.8.3.1-1.sdl6.x86_64.rpm ,perl-Git-1.8.3.1-1.sdl6.noarch.rpm
위 두가지 패키지 download 후 local install로 설치하면 끝.
한방에 해결 되었습니다.
centos의 daum repository에 기본적으로 등록된 패키지가 1.7 버전이라는 점 유의 하시기 바랍니다.
.by rocksea