먼저 메인으로 사용할 저장소를 셋업 cd /c/work git clone https://jm19@bitbucket.org/jm19/macro.git 두번째 저장소를 하위 폴더에 병합 // 원격 저장소를 추가 // -f 옵션은 원격 저장소 추가 후 fetch도 진행 git remote add -f repo2 https://jm19@bitbucket.org/jm19/macro2.git // --no-commit 옵션을 통해 커밋하기 전에 추가 조정 기회를 얻음 git merge -s ours --no-commit repo2/master --allow-unrelated-histories // repo2/master의 루트에서 커밋을 읽고 결과 파일을 subdir/subsub 아래에 놓음 git read-tre..