Git 에러에러
error: Entry has been modified in the work treeerror: 작업 트리에서 항목이 수정됨
작업 트리의 파일이 수정되어 Git 작업이 차단되었습니다.
gitlinuxwindowsmacos
상세 보기 error: sparse-checkout is not enabledsparse-checkout 작업을 시도했지만 해당 기능이 활성화되어 있지 않습니다.
sparse-checkout 기능을 먼저 활성화하지 않고 sparse-checkout 패턴을 수정하려 했습니다. sparse checkout은 구성하기 전에 초기화되어야 합니다.
sparse checkout을 초기화하세요: git sparse-checkout init --cone. 그런 다음 패턴을 설정하세요: git sparse-checkout set dir1 dir2. git sparse-checkout list로 확인하세요. 정규식 기반 패턴에는 --no-cone을 사용하세요.
git sparse-checkout init --coneerror: Entry has been modified in the work tree작업 트리의 파일이 수정되어 Git 작업이 차단되었습니다.
error: cannot rebase: You have unstaged changes작업 디렉터리에 커밋되지 않은 변경사항이 있어 Git이 rebase를 거부합니다.
error: Your local changes would be overwritten작업이 커밋되지 않은 로컬 변경 사항을 덮어쓸 수 있어 Git이 작업 수행을 거부합니다.
error: LFS object not foundGit LFS로 추적되는 파일을 LFS 서버에서 다운로드할 수 없습니다.
You are in 'detached HEAD' stateHEAD가 브랜치가 아닌 특정 커밋을 직접 가리키고 있어, 새 커밋이 고아 상태가 됩니다.
remote: error: GH006: Protected branch update failed브랜치 보호 규칙으로 인해 보호된 브랜치로의 push가 거부되었습니다.