mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-17 17:17:40 +08:00
607 B
607 B
git format-patch
.patch파일 준비. 커밋을 이메일로 전송할 때 유용합니다. 생성된.patch파일을 적용할 수 있는git am도 참고하세요. 더 많은 정보: https://git-scm.com/docs/git-format-patch.
- 푸시되지 않은 모든 커밋에 대한 자동 이름 지정
.patch파일 생성:
git format-patch {{origin}}
- 두 개의 리비전 사이의 모든 커밋에 대한
.patch파일을stdout으로 출력:
git format-patch {{revision_1}}..{{revision_2}}
- 최근 3개의 커밋에 대한
.patch파일 생성:
git format-patch -{{3}}