Skip to content

Configure git account on a computer

frakkopesto edited this page Feb 2, 2013 · 1 revision

Git needs to recognize your name and email address to be able to access your online account.

If you do not specify them in the global configuration file they are configured automatically based on your username and hostname on the local computer.

You can set them explicitly as follows:

    git config --global user.name "Your Name"
    git config --global user.email [email protected]

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author