Problem author name in remote repository

1

I'm working with Git on MAC , from terminal and I get a different author name than expected in the remote repository when I do pushes .

I have configured my name in the global configuration, repository, system Git , as user.name and author.name and I get it correctly with the commands:

git config author.name
git config user.name
git config -l

If I do a remote push it appears as Author: Master Account .

I am also using Vagrant boxes, if I do a push from within Vagrant, as author Vagrant . If I close the connection, I suspend the boxes, close the console where they were running, Master Account appears. Within vagrant I also configure the global ones and I still see Vagrant on the remote.

I have the public SSH key in Bitbucket so pusheo without asking me for a password. I have tried in another bitbucket account, entering username and password to send the commits and it keeps happening. Also, I have deleted MAC keychain keys related to git , bitbucket ...

How do I show MyName as an author in Bitbucket ?

    
asked by Orici 14.12.2017 в 12:23
source

1 answer

4

Have you also configured the mail? In principle, putting the same one you have in bitbucket should help you.

Configure bitbucket username / email

git config --global user.name "FIRST_NAME LAST_NAME"

git config --global user.email "[email protected]"

Set up username / email for a specific repository

git config user.name "FIRST_NAME LAST_NAME"

git config user.email "[email protected]"

Check it in the file:

cat .git/config
    
answered by 14.12.2017 в 12:57