Git Submodule
Git 서브모듈
Git 서브모듈은 하나의 리포지토리가 다른 Git 리포지토리의 정확한 커밋을 가리킬 수 있게 해줍니다. 상위 리포지토리도 이를 찾는 방법을 저장합니다.
다른 예시
앱 저장소는 자체 저장소에 보관된 펌웨어를 사용합니다. 부모 프로젝트는 검토된 펌웨어 커밋 하나와 로드 설정 단계를 기록합니다. 서브모듈의 최신 브랜치를 끌어와도 부모 포인터는 자동으로 업데이트되지 않습니다.
주요 부분
- 01슈퍼프로젝트 깃링크
- 02서브모듈 URL
- 03고정 커밋
사용할 때
하나의 저장소가 독립적으로 관리되는 다른 저장소를 정확한 커밋으로 고정해야 할 때 이 용어를 사용하세요.
다음 경우에는 사용하지 마세요
릴리스된 패키지나 복사된 스냅샷이 더 간단한 소유권과 업데이트를 제공할 때 하위 모듈은 피하십시오.
코드에서 사용된 이름
gitlink + .gitmodules + nested repository 출시하기 전에
Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback.
Outcome:Complete the task with Git 서브모듈 (Git Submodule)。 User context:앱 저장소는 자체 저장소에 보관된 펌웨어를 사용합니다. 부모 프로젝트는 검토된 펌웨어 커밋 하나와 로드 설정 단계를 기록합니다. 서브모듈의 최신 브랜치를 끌어와도 부모 포인터는 자동으로 업데이트되지 않습니다. Delivery concept or operation:Git 서브모듈 (Git Submodule)。 Why it fits:하나의 저장소가 독립적으로 관리되는 다른 저장소를 정확한 커밋으로 고정해야 할 때 이 용어를 사용하세요. Do not use it when:릴리스된 패키지나 복사된 스냅샷이 더 간단한 소유권과 업데이트를 제공할 때 하위 모듈은 피하십시오. Delivery requirements: Name the code repository and target. List preconditions, changes, review and CI checks, conflict and data-loss risks, release order, and the rollback or recovery command. Repository safeguards: Keep unpublished work and a clear history. Do not run destructive steps without an explicit backup. Check the exact code diff and remote target before publishing. Acceptance criteria: Review the intended diff and pass all required checks. Keep the target version traceable. Practice failure recovery and keep published history clear. Evidence and limits (evidence boundary):해당 출처에 대해 공식적인 것입니다. 다른 플랫폼이나 팀은 그 용어를 다른 방식으로 사용할 수 있습니다. Unknowns to confirm: Repository, branch, team activity, release environment, approval owner, protected checks, and rollback target.
이 요청을 확인하세요
Review how Git 서브모듈 (Git Submodule) is used now. Definition: Git 서브모듈은 하나의 리포지토리가 다른 Git 리포지토리의 정확한 커밋을 가리킬 수 있게 해줍니다. 상위 리포지토리도 이를 찾는 방법을 저장합니다. Release checks: Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.