Update or delete a Git-based repository - Amazon EMR

Update or delete a Git-based repository

Note

EMR Notebooks are available as EMR Studio Workspaces in the new console. You can still use your existing notebooks in the old console, but you can't create new notebooks in the old console. The Create Workspace button in the new console replaces this functionality. 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 new console and What's new in the 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 AWS Secrets Manager.