git rebase 로 프로젝트 commit을 건들다

문제 사항

  • git convention을 지키지 않은 git들이 존재
  • 필요 없는 git commit 존재
git commit 상황

해결 방안

  • git rebase를 활용해보자

결과

  • 이미 remote에서 merge가 된 commit의 rebase는 힘듦
  • 특히 merge 과정에서 충돌이 일어났던 commit들을 rebase하는 것은 힘듦
    • rebase, squash 과정에서 충돌이 일어났던 것들을 다시 conflict 해결해 줘야지 됨
    • dev branch로 최신화 되지 않은 branch로 계속 작업한 코드일 수록 이 과정을 힘들게 함

Leave a Comment


This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny