본문 바로가기

GIT

[Git] error: RPC failed; curl 55 Failed sending data to the peer 오류 error: RPC failed; curl 55 Failed sending data to the peer git push 시 해당 오류 메시지가 나오며 push가 멈춤 해결 방법 1. git config --global http.postBuffer 524288000 저는 이 방법으로 해결되었습니다. 오류의 원인은 git config에서 설정한 http.postBuffer 값보다 크기가 큰 파일이 포함되어 있었기 때문이었습니다. 단일 파일 최대 허용 크기를 500MB로 넉넉하게 설정해주어 해결되었습니다. 2. 크기가 50MB 이상인 파일 삭제 1번과 원인은 동일한데, 파일 크기가 훨씬 크거나 명령어가 작동하지 않는 등 해결이 안 되는 경우 파일을 삭제하는 걸 고려해 볼 수 있습니다. 단일 파일의 크기.. 더보기
[AIFFEL] AIFFEL LMS 콘솔에서 git 로그인을 자동으로 설정하기 git pull/push를 할 때 password를 매번 입력해주는 것은 상당히 번거로운 일이다. git bash에서 로그인 절차를 생략하는 일은 간단하다. 명령어 단 한 줄이면 된다. (참고 : https://assiduity.tistory.com/77) 하지만, AIFFEL의 LMS 콘솔에서는 위 방법이 먹히지 않는다. git config --global 설정이 저장되는 경로가 "~/.gitconfig"인데, AIFFEL이 제공하는 리눅스 클라우드의 경우 "~/aiffel" 디렉터리를 제외한 나머지는 자동으로 초기화되기 때문이다. (참고 : https://coding-groot.tistory.com/97) 그래서 AIFFEL LMS에서 git 로그인을 자동으로 설정하기 위해서는 .gitconfig 파.. 더보기
[Git] git pull/push 시 password 입력 생략하기 git pull/push 시 password 입력 생략하는 방법 git config --global credential.helper store 이렇게 하면 "~/.gitconfig" 경로에 Global 설정이 유지 된다. 더보기
[Git] warning: credential.helper has multiple values 오류 git config --unset credential.helper 해당 git 명령어 입력 시 다음과 같은 오류 메시지가 나타남 warning: credential.helper has multiple values 해결 방법 git config --unset-all credential.helper 더보기