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 xxx.xxx@domain.com. 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
If I’m not mistaken, the email is used to check what the GitLab user is
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 user.email
field), and make sure it is set to the right one
1 Like