반응형

git 5

[Git] warning: adding embedded git repository 원인 및 해결법

개요git 사용 과정에서 다음과 같은 경고 메시지가 발생하였습니다.warning: adding embedded git repository: frontendhint: You've added another git repository inside your current repository.hint: Clones of the outer repository will not contain the contents ofhint: the embedded repository and will not know how to obtain it.hint: If you meant to add a submodule, use:hint:hint: git submodule add frontendhint:hint: If you adde..

Git 2024.10.22

[Git] git pull 시 fatal: refusing to merge unrelated histories 오류 원인 및 해결 방법

git pull 과정에서 fatal: refusing to merge unrelated histories 라는 메시지가 출력되며동기화에 실패하는 경우, 원인과 해결책에 대하여 간략하게 정리해보도록 하겠습니다.  개요git pull 과정에서 다음과 같은 오류 메시지가 발생하며,동기화에 실패하고 있습니다.########################### W A R N I N G ############################This equipment is privately owned.All access to this equipment is logged.Disconnect IMMEDIATELY, if you are not an authorized userViolators will be prosecuted ..

Git 2024.10.08

[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
반응형