개발(Web)/VCS

[Android Studio/GitHub] 안드로이드 스튜디오와 깃허브 연동하기 (3)

shinyelee 2022. 2. 5. 00:34

방법 (3)

 

[Android Studio/GitHub] 안드로이드 스튜디오와 깃허브 연동하기 (2)

방법 (2) 참고 [Git] git ssh clone시 'The authenticity of host ~ can't be established 오류 해결하는 방법 Git을 처음 설치하고 저장소를 ssh clone 받을 때 위의 오류가 발생하는 경우가 있다. 깃허브에서..

shinye0213.tistory.com

 

구글링해보니 깃을 업데이트 해 보라고 한다

Can't finish GitHub sharing process
Successfully created project 'android_study' on GitHub, but initial push failed:
Warning: Permanently added 'github.com,15.164.81.167' (ECDSA) to the list of known hosts.
Connection reset by 15.164.81.167 port 22 Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.

명령 프롬프트에서 git --version 입력 후 git update-git-for-windows 입력 후 y 입력
지가 알아서 업뎃한다
Git에서 Commit 선택
변경된 파일 체크 후 커밋 메시지 입력하고 Commit
정상적으로 커밋 된다
이번엔 Push를 해 보자
Push 버튼만 눌러주면 끝
푸쉬도 잘 된다
조금전까지 이랬는데
제대로 반영됐다!


참고

 

github 에러...

Can't finish GitHub sharing process                 Successfully created project 'xxxx-xxxx' on GitHub, but initial push failed:                 Permission denied (pu..

lloydkwon.tistory.com

 

 

Update Git on Windows : 윈도우용 깃 업데이트 - 아크몬드넷

https://git-scm.com/downloads 현재 최신 버전은 2.25.0이다. 명령 프롬프트(cmd.exe)를 열어서 아래 명령을 입력한다. git --version 현

archmond.net

반응형