1. Now that the commit has been pushed to gitlab.com, you must force a commit containing the correction message. Due to the submission instructions that do not meet: convention submission, its URL:https://www.conventionalcommits.org/zh-hans/v1.0.0/
2. Reference:https://docs.github.com/cn/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message.
3. Use the git commit –amend command to modify the commit message. Type git commit –amend and press Enter. Please enter your change submission message. head of a show
have## will be ignored.
4. Edit the commit message in the text editor and save the commit. as shown in Figure 1

5. Use the push –force-with-lease command to force the modified old commit. as shown in Figure 2

PS E:\wwwroot\object> git push --force-with-lease origin example-branch Enumerating objects: 19, done.
Counting objects: 100% (19/19), done.
Delta compression using up to 4 threads
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.59 KiB | 108.00 KiB/s, done.
Total 10 (delta 8), reused 0 (delta 0), pack-reused 0
remote:
remote: View merge request for example-branch:
remote: https://xxx/themes/object/-/merge_requests/487
remote:
To https://xxx/themes/object.git
+ efb465f5...61478100 example-branch -> example-branch (forced update)
PS E:\wwwroot\object>
6. Check the submission instructions on gitlab, which has been added: feat: prefix. as shown in Figure 3

Need long-term technical maintenance or remote troubleshooting?
I am a PHP / Go backend engineer with 15+ years of experience, focused on existing system maintenance, bug fixing, performance optimization, server troubleshooting, WordPress maintenance, and small feature iterations.
If your project is facing any of the following issues, we can start with a small troubleshooting task first:
- ✅ PHP / Laravel / Yii2 legacy systems without active maintenance
- ✅ Go / Gin backend APIs that need troubleshooting or optimization
- ✅ Slow, broken, or unstable WordPress websites
- ✅ Nginx / MySQL / Redis / Linux server issues
- ✅ CDN / Cloudflare / DNS / HTTPS configuration problems
- ✅ Long-term remote technical support or part-time maintenance
More details: About Me & Collaboration
WeChat: 13980074657
Email: shuijingwanwq@gmail.com
Telegram: @shuijingwan
GitHub: https://github.com/shuijingwan


Leave a Reply