1. 에러해결: unable to rewind rpc post data - try increasing http.postBuffer

아래 커맨드를 통해, 버퍼 용량을 최대로 늘릴 수 있음.

git config --global http.postBuffer 1048576000

2. 에러해결: 502 error

push 할 단일 파일의 크기가 250mb 이상인 경우, 502 eroor가 발생한다.

이럴 때는 gitignore로 조금씩 나누어 쪼개서 repository에 push하도록 한다.

3. 에러해결: push 중, 에러가 발생하여 commit을 취소해야하는 경우

순서 1. commit 취소

git reset --soft HEAD^

순서 2. add 전체 취소하기 (이걸 staging -> unstaged 되었다고 함)

git reset

4. gitignore 파일 생성&작성법

  1. 루트 경로에 gitignore 파일 생성
git touch gitignore
  1. gitignore 에 경로 등록
Library/
Python/
...

태그:

카테고리:

업데이트:

댓글남기기