반응형

git 3

[Git] git config pull.~~ warning 시 해결 방법, pull config 차이 예시

git pull 과정에서 config를 설정해야 하는 상황으로 pull이 안되는 경우 이를 해결하는 방법과 각 config에 따른 차이를 예시로 간략하게 정리해보도록 하겠습니다. 개요 git pull 과정에서 다음과 같은 warning 메시지가 발생하며, pull이 안되는 경우가 있습니다. ########################### W A R N I N G ############################ ~~~ ###################################################################### ~~~ From git.projectbro.com:project_name/repo_name * branch main -> FETCH_HEAD abcdef..gh..

Git 2024.01.29

[Git] ! [rejected] main -> main (fetch first)error: failed to push some refs... 원인 및 해결 방법

git push 과정에서 conflict로 인하여 자주 발생할 수 있는 오류 메시지에 대하여 원인과 대처 방법을 간략히 정리해보도록 하겠습니다. 에러 개요 git push를 하는 과정에서 다음과 같은 오류 메시지가 발생하면서, push가 거절당했습니다.(브랜치 이름이 main인 경우를 기준으로 가정합니다.) To git.projectbro.com:project_name/repo_name ! [rejected] main -> main (fetch first) error: failed to push some refs to 'git.projectbro.com:project_name/repo_name' hint: Updates were rejected because the remote contains work ..

Git 2024.01.28

[Git] error: object file ~ is empty / error: remote unpack failed: eof before pack header was fully read 해결법

오류 개요 작업 중 컴퓨터가 비정상적으로 재부팅된 후, Git에서 push를 하는 도중에 다음과 같은 오류 메시지가 발생하였습니다. error: object file .git/objects/41/abcdef is empty error: object file .git/objects/b6/ghijkl is empty Counting objects: 100% (17/17), done. Delta compression using up to 16 threads Compressing objects: 100% (7/7), done. error: object file .git/objects/41/abcdef is empty fatal: loose object mnopqr (stored in .git/objects/41..

Git 2024.01.23
반응형