📌  相关文章
📜  gitlab 更改提交消息 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:24.212000             🧑  作者: Mango

代码示例1
git checkout branch_name
git commit --amend -m "Modified message"
# if previous commit is not pushed yet
git push
# or if previous comment was pushed in a previous commit:
git push --force-with-lease branch_name