[git] git cherry-pick

dev stefanCho·2021년 12월 10일
0

git

목록 보기
11/14

git cherry-pick은 다른 branch의 특정 commit을 가져올 때 사용된다.

git cherry-pick <commit-hash>

options

-e

--edit으로 commit message를 수정할 수 있다. 이게 없으면 메시지 수정없이 그대로 commit이 복사된다. (복사된다는게 commit hash가 같다는 의미는 아니다.)

profile
Front-end Developer

0개의 댓글