리액트 향후 과제 진행 방법 (브랜치 컨벤션) #554
woohm402
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
현재 문제가 다음과 같습니다.
때문에 지금 PR이 올라가 있는 브랜치를 머지하고 분기해서 다음 과제를 진행해야 하나, 어째야 하나에 대한 부분이 아주 애매해집니다.
다음과 같이 진행해주시기 바랍니다.
main
<-assignment-1
로 PR이 생성되어 있는 구조라고 가정하겠습니다. (브랜치 이름이 소소하게 다를 수 있음)assignment-1
브랜치에서assignment-2
브랜치를 생성해 주세요.git checkout -b assignment-2 assignment-1
assignment-2
브랜치에서 과제를 수행해 주세요. 수행하시면서,assignment-2
브랜치에서main
브랜치로 PR을 생성해 주세요.assignment-2
브랜치에서 해 주세요.assignment-2
브랜치에서main
브랜치를rebase
해 주세요.git checkout main
git pull
git checkout assignment-2
git pull
git rebase main
git push --force
보시다시피 가장 이상적이고 깔끔한 상황은 누구보다 빠르게 조기제출하고 누구보다 빠르게 피드백을 받고 누구보다 빠르게 반영해서 머지해버리고 다음 과제 나오면
main
에서 브랜치를 새로 생성하여 상쾌한 기분으로 과제 진행하는 거겠죠? 다들 화이팅입니다! 👍설명이 부족했거나, 뭔지 모르겠다 등등의 질문이 있다면 댓글로 해 주세요
Beta Was this translation helpful? Give feedback.
All reactions