amend (3) 썸네일형 리스트형 [git] Commit 메시지 수정 Git에 push된 commit에 대해 message를 수정하고 싶을 때에는 다음 명령어를 사용한다. git commit --amend -m "메세지" git push -f 혹시 gitlab을 사용 중이라면 branch가 protected branch인지 확인해야 한다. 만약 protected branch라면 protected를 해제해야 한다. [git] Change the commit message The following commands are used to change the commit message that's already pushed. git commit --amend -m "message" git push -f You need to check if the branch is a protected branch in gitlab. It will not work if it's a protected branch. [git] commit message 변경 Push된 commit message를 변경할 때는 다음과 같은 명령어를 사용한다. git commit --amend -m "message" git push -f 참고로 gitlab에서는 protected branch가 아닌지 확인한다. protected branch의 경우 위의 명령어가 통하지 않는다. 이전 1 다음