프로젝트를 진행하다 보면 일부 변경사항만 master(운영) 브랜치에 적용해야 하는 경우가 생긴다.
How to cherry pick from branch A to branch B on a system without history?
Suppose I have a new system with no git history and I take a fresh checkout of branch A. Branch A already has a commit C1 which I did yesterday from some other system. Now I want to cherry-pick this
stackoverflow.com
cherry-pick을 사용하면 일부만 가져와서 master에 적용할 수 있습니다.
'노력 > 회사' 카테고리의 다른 글
깃 작업 되돌리기 (0) | 2020.06.09 |
---|---|
Spring-boot-starter 프로젝트에 유효성 검사 (0) | 2020.06.08 |
깃 브랜치 전환 시 에러 발생할 때 (Checkout Conflicts) (0) | 2020.06.08 |
PostgreSQL 설치 (0) | 2020.04.19 |
1. 딥러닝 환경설정하기 (0) | 2018.11.27 |