1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:02:08 +02:00
tldr/pages.ko/common/git-cherry-pick.md
코드싸이 0819a11434
git-*: add and update Korean translation (#14031)
* git-a*: add and update Korean translation

* git-b*: add and update Korean translation

* git-*: add and update Korean translation

* Update git-standup.md

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-08 00:22:02 +09:00

752 B

git cherry-pick

기존의 커밋에서 가져온 변경내용을 현재 브랜치에 적용합니다. 변경내용을 다른 브랜치에 적용하고싶으면, 우선 git checkout을 사용해 원하는 브랜치로 변경하세요. 더 많은 정보: https://git-scm.com/docs/git-cherry-pick.

  • 커밋을 현재 브랜치에 적용:

git cherry-pick {{커밋}}

  • 특정 범위의 커밋들을 현재 브랜치에 적용 (git rebase --onto도 보세요):

git cherry-pick {{시작_커밋}}~..{{끝_커밋}}

  • 연속되지 않은 여러 커밋들을 현재 브랜치에 적용:

git cherry-pick {{커밋1 커밋2 ...}}

  • 커밋의 변경내역을 커밋 없이 디렉토리에 추가:

git cherry-pick --no-commit {{커밋}}