First there is a github repo I created personally , and usually using my own github account to do the push action . Then accidentally I used my company’s gitlab account to perform the push action , then the contributor list include two man which actually are just me. So I tried to change/remove the gitlab account with below ways, but none of them work , anyboby met similar issue?
delete my gitlab account
use this command but can’t push , always remind me behind the remote commit ,seems local overwritten branches not able to cover remote ones
git filter-branch --env-filter ' if [ "$GIT_AUTHOR_NAME" = "OLD NAME" ]; then \ export GIT_AUTHOR_NAME="NEW NAME" GIT_AUTHOR_EMAIL="firstname.lastname@example.org"; \ fi '
- rename branch to ‘xx1’ then rename again back to ‘xx’