Tips and tricks

Modify the Commit Author of the Last Commit

Specifically for this error: remote: GitLab: Your git author name is inconsistent with GitLab account name

Use this git command:

git commit --amend --author="{{YOUR_NAME}} <{{YOUR_EMAIL}}>" --no-edit

To check the last commits, maybe one of the commits is the culprit:

git log -n 5

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}