[git] 협업

Edward Hyun·2022년 5월 12일
0

app&web-dev

목록 보기
110/178

code review를 위해
pr (pull request) 처리
출처 ::
https://blog.cowkite.com/blog/2003062358/

내가 궁금했던 건
깃 코드 리뷰 후 고칠 것을 어떻게 수정하는지

한가지 방법 : vsc에서 수정하고 강제 commit 시도

Review 받은 내용 수정후 git add 하기
git commit --amend를 통해 최신 commit 덮어쓰기
git push -f origin branch-name

다른 방법 : 깃헙에서 수정

Pull Request 생성 후 수정사항이 생긴다면?

같은 브랜치에 수정사항을 push한다면, Pull Request에도 자동으로 반영이 된다.

별도로 Pull Request를 추가로 만들 필요가 없다.

출처: https://yeonyeon.tistory.com/158 [연로그]

profile
앱&웹개발(flutter, vuejs, typescript, react), 인공지능(nlp, asr, rl), 백엔드(nodejs, flask, golang, grpc, webrtc, aws, msa, nft, spring cloud, nest.js), 함수형 프로그래밍(scala, erlang)을 공부하며 정리합니다.

0개의 댓글