GIT CLI - Branch & Conflict 7. 수업을 마치며 git workflow / cheery-pick / rebase
1. git workflow
혼자 규칙을 정하는 것보다 여러 사람들이 만들어 놓은 flow를 사용할 수 있다.
유명한 플로우를 표준처럼 업무에 집중할 수 있게 도와준다.
Git Workflow | Atlassian Git Tutorial
A brief introduction to common Git workflows including the Centralized Workflow, Feature Branch Workflow, Gitflow Workflow, and Forking Workflow.
www.atlassian.com
git flow를 이용한 예시)
https://woowabros.github.io/experience/2017/10/30/baemin-mobile-git-branch-strategy.html
우린 Git-flow를 사용하고 있어요 - 우아한형제들 기술 블로그
안녕하세요. 우아한형제들 배민프론트개발팀에서 안드로이드 앱 개발을 하고 있는 나동호입니다.오늘은 저희 안드로이드 파트에서 사용하고 있는 Git 브랜치 전략을 소개하려고 합니다. ‘배달
woowabros.github.io
git-flow 사용법)
https://soft.plusblog.co.kr/20
git-flow 설치 및 사용법
어느 정도 규모가 있는 소프트웨어를 개발하다보면 소스코드의 버전 관리 시스템(VCS; Version Control System)을 사용하게 된다. 비교적 오래된 프로젝트의 경우 SVN(Subversion)이나 CVS(Concurrent Versions Sy..
soft.plusblog.co.kr
2. cherry-pick
병합과 관련된 기능 ▷ 부분적으로 병합
예시) master 브랜치의 a3에 other 브랜치의 b2를 병합해 a4를 만들 수 있다.
cherry-pick이란?
https://cselabnotes.com/kr/2021/03/31/git-%EB%AA%85%EB%A0%B9%EC%96%B4-git-cherry-pick/
git 명령어 : git cherry-pick – 삐멜 소프트웨어 엔지니어
git을 이용해 코드 관리를 하다보면 커밋을 다른 브랜치에 잘못 하거나, 요구사항이 바뀌어 필요 없는 커밋이 생기거나, 코드 의존성(dependency) 때문에 다른 사람의 커밋 중 일부를 가져와야 하는
cselabnotes.com
3. rebase
merge와 목표는 비슷하지만 타임라인을 훨씬 깔끔하게 만들 수 있다. (안 해도 된다)
git rebase | Atlassian Git Tutorial
Rebase is one of two Git utilities that specializes in integrating changes from one branch onto another.
www.atlassian.com