Git Stash
Git 스태시
Git Stash는 선택한 커밋되지 않은 작업 트리 및 인덱스 변경 사항을 임시로 저장합니다. 저장된 세트는 스택을 형성하며 나중에 복원할 수 있습니다.
다른 예시
개발자가 덜 끝난 실험엔 표시를 하고, 추적 중인 파일과 꼭 필요한 미추적 파일을 stash해요. 급한 문제를 고친 다음, 원래 브랜치에서 stash를 다시 적용하는 거죠.
주요 부분
- 01Branch or change set
- 02Review and verification gate
- 03Released result
사용할 때
임시 커밋이나 작업 트리가 과도할 경우 작은 작업 전환에 사용하십시오.
다음 경우에는 사용하지 마세요
stash를 장기 저장용으로 사용하지 마세요, 추적되지 않은 파일을 잊지 마세요, 관련 없는 브랜치에 적용하지 마세요, 원격 백업을 기대하지 마세요.
코드에서 사용된 이름
git stash push/list/show/apply/drop 출시하기 전에
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 Stash)。 User context:개발자가 덜 끝난 실험엔 표시를 하고, 추적 중인 파일과 꼭 필요한 미추적 파일을 stash해요. 급한 문제를 고친 다음, 원래 브랜치에서 stash를 다시 적용하는 거죠. Delivery concept or operation:Git 스태시 (Git Stash)。 Why it fits:임시 커밋이나 작업 트리가 과도할 경우 작은 작업 전환에 사용하십시오. Do not use it when:stash를 장기 저장용으로 사용하지 마세요, 추적되지 않은 파일을 잊지 마세요, 관련 없는 브랜치에 적용하지 마세요, 원격 백업을 기대하지 마세요. 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 Stash) is used now. Definition: Git Stash는 선택한 커밋되지 않은 작업 트리 및 인덱스 변경 사항을 임시로 저장합니다. 저장된 세트는 스택을 형성하며 나중에 복원할 수 있습니다. 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.