Setting up an email address for commit association in SourceCraft

Commits are records of changes to the repository containing a description, author info, and timestamp.

SourceCraft gets the author name and email for each commit from git. If the email in the git settings matches the SourceCraft user email, the commit is automatically associated with that user in the repository, with their SourceCraft username, avatar, and profile link displayed in the commit history.

You can have several email addresses associated with your profile, in which case commits containing these addresses will be attached to your account.

Adding an email address

  1. To view your current git email address, run this command in the terminal:

    git config user.email
    
  2. Open the service home page.

  3. In the left-hand panel, click Home and go to Access Email addresses.

  4. Click New email.

  5. Enter the email address and click Add.

    A confirmation code will be sent to that email address. Check the Inbox and Spam folders.

  6. To complete the verification, enter the code you received in the pop-up window and click Confirm.

    Tip

    If you failed to verify your email for some reason, you can resend a confirmation code. To do this, click Send code next to the email address.

After that, all existing and future commits containing this email will be associated with your profile.

Deleting an email address

  1. Open the service home page.
  2. In the left-hand panel, click Home and go to Access Email addresses.
  3. Next to the email address, click and confirm deletion.

After that, all existing and future commits containing the deleted email will no longer be associated with your profile.

See also