Skip to main content

Git patch 파일 만들기


patch files 생성

git format-patch [-<num of commit>] [commit]

patch file 적용

git am <patch>

patch 중 에러 수정

git apply <patch> --reject

생성된 <.ref> 파일을 보고 에러를 수정합니다.

git add <modified files>
git am --continue