Git

[Git] 이미 올린 Pull Request (PR) 수정 어떻게 할까?

Sungwoo Koo 2023. 10. 19. 15:30
  1. 코드 수정
  2. 수정이 모두 끝났으면 수정한 파일 git add
  3. git commit --amend (가장 최근 커밋을 수정)  
    git commit --amend -m "docs: 덮어 씌울 커밋에 적용할 새로운 커밋 메시지"
  4. git push -f origin 브랜치명