Troubleshooting - Amazon Toolkit for Visual Studio
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Troubleshooting

The following are troubleshooting topics for addressing known issues when working with Amazon CodeCatalyst from the Amazon Toolkit for Visual Studio.

Credentials

If you encounter a dialog asking for credentials when attempting to clone a git-based repository from CodeCatalyst, your Amazon CodeCommit Credential helper may be configured globally, causing interference with CodeCatalyst. For additional information about the Amazon CodeCommit credential helper, see the Set up steps for HTTPS connections to Amazon CodeCommit repositories on Windows with the Amazon CLI credential helper section of the Amazon CodeCommit User Guide.

To limit the Amazon CodeCommit Credential helper to handling only CodeCommit URLs, complete the following steps.

  1. open the global git config file in: %userprofile%\.gitconfig

  2. Locate the following section in your file:

    [credential] helper = !aws codecommit credential-helper $@ UseHttpPath = true
  3. Change that section to the following:

    [credential "https://git-codecommit.*.amazonaws.com"] helper = !aws codecommit credential-helper $@ UseHttpPath = true
  4. Save your changes, then complete the steps to clone your repository.