报错如下
remote: Audit failure - Commit {hash} - Non-full name: changzex
remote: Audit failure - Commit {hash} - Non-full name: changzex
remote: Push declined - commits failed audit
remote: Should the audit failures above mention issues regarding your name, please ensure that your Git username has been set to your full name.
remote: Please see https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup for more details on ensuring Git has been fully configured.
remote: In the event that your full name has been set and is shown above as being rejected, please file a Sysadmin ticket at https://go.kde.org/systickets
To https://invent.kde.org/changzex/konsole.git
! [remote rejected] master -> master (pre-receive hook declined)
error: 推送一些引用到 'https://invent.kde.org/changzex/konsole.git' 失败
经过尝试后的解决方案
1.确定kde invent的fullname
例如chance chang
2.配置config
git config --local user.name "chance chang"
git config --global user.name "chance chang"
3.更新commit信息
git commit --amend --author="chance chang <changze@xxx.com>"
4.git push
用changzex这个账号