[공지] PR 을 위한 모든 과정 #8
Heeseok-Jeong
started this conversation in
Notice
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue 작성
브랜치를 만들기 전에 깃헙에서 issue 를 작성할 것
Branch 생성 및 변경
git checkout
인데,-b
옵션을 통해 생성과 동시에 변경 가능git checkout -b heath/k-fold
git branch
Git Add, Git Commit, Git Push
브랜치에서 작업한 내용을 remote 에 올리기
git add .
git add train.py
git commit -m "Add k-fold function"
참고 좋은 git commit 메시지를 위한 영어 사전 - Reid
git push origin heath/k-fold
PR 날리기
New Pull Request
[이름] 작업 기능
과 같은 형식으로 올릴것 (e.g. [히스] Add K-fold)Code Review
file changed
에 들어가서 코드를 읽어본 후, 문제가 있으면comment
를 남기고 괜찮다면approve
해주기Merge 및 Branch 삭제
merge
하기git branch -D heath/k-fold
Git Fetch, Merge (upstream 의 내용을 로컬로 업데이트)
remote 의 내용이 바뀌었기 때문에 conflict 나지 않게 다른 모든 사람들은 본인의 로컬 브랜치에 remote 내용을 내려받아야 함
git fetch upstream
git merge upstream/develop heath/EDA
(작업중인 현재 브랜치 기준 merge 가 됨)Beta Was this translation helpful? Give feedback.
All reactions