How to determine how GitLab views me as an author

I tried to configure SourceTree and it somehow invalidated my setup if VS Code. I believe my .gitconfig was changed but I a not sure what to set it back to. I can login to GitLab Web with no issue as However, when I try to do a git push from vs Code, I get the following error: “remote: GitLab: Author ‘xxx’ is not a member of team”. How do I determine how GitLab sees me as an author?

Hi @bnahrwo1 :wave: :slightly_smiling_face:

If I’m not mistaken, the email is used to check what the GitLab user is :thinking:

You can try to check the email of the commit author with git show -s --format='%ae' [<commit hash>], or the email of your local git config with git config --list (see the field), and make sure it is set to the right one :slightly_smiling_face:

1 Like