![]() Sourcetree adds your name and email address to your configuration files automatically when you log in with your Atlassian account. Update your configuration from Sourcetree Git config user.email your configuration by displaying your configuration file: Git config user.name "FIRST_NAME LAST_NAME" Git config -global user.email set repository-specific username/email configuration:įrom the command line, change into the repository directory. Git config -global user.name "FIRST_NAME LAST_NAME" To set your global username/email configuration: Git configuration works the same across Windows, macOS, and Linux. After you set your global configuration, repository-specific configuration is optional. However, you can do so now if you missed that step or want to make changes. You typically configure your global username and email address after installing Git. To associate your email address with local commits, start by configuring a global username/email and an optional repository-specific username/email. If you don't specify repository-specific values, the commit defaults to using the global values you set. See Map existing commits to username aliases for more details. Once you've pushed an unmapped commit to a repository, an administrator for that repository can add your email address as a username alias. When you hover over the avatar or username, you'll see: Author not mapped to Bitbucket user. Alternatively, the user on the initial (bottom) commit was configured locally but isn't mapped. In the following image for example, the second (top) commit includes a mapped username with a validated email address. Instead, the username attached to the commit will either be based on your computer username or only your DVCS username. Otherwise, Bitbucket doesn't associate your account with the commit. You've added the email address as an email alias and validated it. You've configured Git with a global username/email address and an optional repository-specific username/email address, as described on this page. To ensure your commits in Bitbucket appear with your user account, it must meet two conditions: When you make commits on your local system and push them to Bitbucket Cloud, the commit data determines which account name to attach to the push. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |