Development/Git
[git] Change the commit message
Kyumpany
2020. 3. 5. 17:22
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.