2026-01-24

worktree로 병렬 작업 공간 만들기

여러 브랜치를 동시에 다루기 위한 worktree 사용법을 정리합니다.

Rhio Kim

Rhio Kim

CEO

#git#worktree#workflow

Page reactions

Leave a quick reaction to this shorts.

반응을 불러오는 중...

10초 요약

worktree는 하나의 저장소로 여러 작업 디렉토리를 만듭니다. 병렬 작업에 적합합니다.


_10
git worktree add ../frends-hotfix hotfix/2026-01
_10
_10
cd ../frends-hotfix

적용 포인트

  • 브랜치마다 독립된 디렉토리를 둡니다.
  • 작업이 끝나면 git worktree remove로 정리합니다.
  • 디스크 공간을 고려합니다.