반응형

github에서 pull, push시 또는 작업시에 나는 오류

원인

2022년 1월 11일 부터 GitHub는 더 이상 사용되지 않는 키 및 서명 유형, 암호, MAC 및 암호화되지 않은 Git 프로토콜 수락을 중단했다.

그래서 이것들 중 하나를 사용하는 경우 The unauthenticated git protocol on port 9418 is no longer supported이라는 오류가 발생한다.

 

해결방법

1. 깃허브의 프로토콜을 git에서 https로 변경한다.

  • cmd 또는 shell에서 입력
git config --global url."https://github.com/".insteadOf git://github.com/
// 또는
git config --global url."https://".insteadOf git://
반응형
얼은펭귄