Update or delete a Git-based repository - Amazon EMR
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).

Update or delete a Git-based repository

Note

EMR Notebooks are available as EMR Studio Workspaces in the console. The Create Workspace button in the console lets you create new notebooks. To access or create Workspaces, EMR Notebooks users need additional IAM role permissions. For more information, see Amazon EMR Notebooks are Amazon EMR Studio Workspaces in the console and Amazon EMR console.

Refer to the following sections for information on how to delete a Git-based repository from an EMR notebook in the old console, or from an EMR Studio Workspace in the new console.

New console

Because EMR Notebooks are EMR Studio Workspaces in the new console, you can you can refer to Link Git-based repositories to an EMR Studio Workspace for more information on working with Git repositories in your Workspace. But at this time, you can't delete Git repositories from Workspaces.

Old console
To update a Git-based repository in the old console
  1. On the Git repositories page, choose the repository you want to update.

  2. On the repository page, choose Edit repository.

  3. Update Git credentials on the repository page.

To delete a Git repository in the old console
  1. On the Git repositories page, choose the repository you want to delete.

  2. On the repository page, choose all the notebooks that are currently linked to the repository. Choose Unlink notebook.

  3. On the repository page, choose Delete.

Note

To delete the local Git repository from Amazon EMR, you must first unlink any notebooks from this repository. For more information, see Link or unlink a Git-based repository. Deleting a Git repository will not delete any secret created for the repository. You can delete the secret in Amazon Secrets Manager.