Git 에러에러
fatal: No submodule mapping foundfatal: No submodule mapping found
Git 서브모듈이 참조되어 있지만 올바르게 초기화되지 않았습니다.
gitlinuxwindowsmacos
이 에러의 원인
저장소가 서브모듈을 사용하지만 클론 후 초기화되지 않았습니다. .gitmodules 파일이 로컬에 설정되지 않은 서브모듈을 참조하고 있습니다.
수정 방법
서브모듈을 초기화하고 업데이트하세요: git submodule init && git submodule update. 새로 클론할 때는: git clone --recurse-submodules url. 모든 서브모듈을 업데이트하려면: git submodule update --init --recursive.
예제
git submodule init && git submodule update관련 에러 코드
Git 에러에러
error: failed to push some refserror: failed to push some refs
원격 저장소에 로컬에 없는 변경 사항이 있어 푸시가 거부되었습니다.
gitlinuxwindowsmacos
상세 보기 Git 에러에러
fatal: ambiguous argumentfatal: ambiguous argument
인수가 리비전인지, 경로인지, 또는 다른 무언가인지 Git이 판단할 수 없습니다.
gitlinuxwindowsmacos
상세 보기 Git 에러정보
nothing to commit, working tree cleannothing to commit, working tree clean
커밋할 변경 사항이 없습니다. 작업 디렉터리가 마지막 커밋과 일치합니다.
gitlinuxwindowsmacos
상세 보기 Git 에러에러
fatal: A branch named 'x' already existsfatal: A branch already exists
지정한 이름의 브랜치가 저장소에 이미 존재합니다.
gitlinuxwindowsmacos
상세 보기 Git 에러에러
CONFLICT (content): Merge conflict병합 충돌
같은 줄이 두 브랜치에서 모두 수정되어 Git이 변경 사항을 자동으로 병합하지 못했습니다.
gitlinuxwindowsmacos
상세 보기 Git 에러에러
remote: error: File is too largeremote: error: File is too large
파일이 원격 호스팅 서비스에서 허용하는 최대 파일 크기를 초과합니다.
gitlinuxwindowsmacos
상세 보기