10초 요약
worktree는 하나의 저장소로 여러 작업 디렉토리를 만듭니다. 병렬 작업에 적합합니다.
_10git worktree add ../frends-hotfix hotfix/2026-01_10_10cd ../frends-hotfix
적용 포인트
- 브랜치마다 독립된 디렉토리를 둡니다.
- 작업이 끝나면
git worktree remove로 정리합니다. - 디스크 공간을 고려합니다.
여러 브랜치를 동시에 다루기 위한 worktree 사용법을 정리합니다.
Rhio Kim
CEO
Leave a quick reaction to this shorts.
worktree는 하나의 저장소로 여러 작업 디렉토리를 만듭니다. 병렬 작업에 적합합니다.
_10git worktree add ../frends-hotfix hotfix/2026-01_10_10cd ../frends-hotfix
git worktree remove로 정리합니다.