반응형

Repository 3

GIT) 푸시할려고하는 파일 용량이 너무 큰 경우 - 오류 (HTTP 499)

GIT 푸시할려고하는 파일 용량이 너무 큰 경우 - 오류 (HTTP 499)오류 (HTTP 499)HTTP 499 / unexpected disconnect실행 : git push -uf origin main실행 결과 (예시)Enumerating objects: 1597, done.Counting objects: 100% (1597/1597), done.Delta compression using up to 16 threadsCompressing objects: 100% (1580/1580), done.error: RPC failed; HTTP 499 curl 22 The requested URL returned error: 499send-pack: unexpected disconnect while rea..

GIT) 최초 원격 저장소(repo) 설정 및 Push

GIT 최초 원격 저장소(repo) 설정 및 Pushgit 초기 설정cd existing_repogit initgit remote add origin http://git.xxx/xxx/~~~.gitgit branch -M main파일 추가git add .윈도우 줄바꿈 자동 변환 기능 (옵션)전역 : git config --global core.safecrlf false현재 Repo만환경등록 : git config core.safecrlf false고정 관리 (.gitattributes)# .gitattributes 내용 수정 ---------------------------------------------------# 모든 텍스트 파일은 Git 저장소에는 LF로, Windows 체크아웃 시 CRLF로 자..

GIT) 원격 저장소(repo) URL(set-rul) 변경

GIT 원격 저장소(repo) URL(set-rul) 변경원격 저장소 확인git remote -v결과 예시origin http://git.xxx/xxx/~~~.git (fetch)origin http://git.xxx/xxx/~~~.git (push)저장소 변경git remote set-url origin https://github.com/xxx/~~~.git기존 (push) URL이 틀린 경우git remote set-url --delete --push origin http://git.xxx/xxx/~~~.git또는git remote set-url --push origin http://git.xxx/xxx/~~~.git최종 원격 저장소 재확인 : git remote -v

반응형