From a08de4db577e9cd408f1712921a84d6b43d6c297 Mon Sep 17 00:00:00 2001 From: Thomas Fritz Date: Mon, 22 Feb 2021 10:01:41 +0100 Subject: [PATCH] Streaminline guide with the updated Java guideline --- .../content/javascript/buildpipe/credhelper/_index.en.md | 9 +-------- .../content/javascript/buildpipe/gitpush/_index.en.md | 8 ++------ 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/workshop/content/javascript/buildpipe/credhelper/_index.en.md b/workshop/content/javascript/buildpipe/credhelper/_index.en.md index 89c8341..7814b6e 100644 --- a/workshop/content/javascript/buildpipe/credhelper/_index.en.md +++ b/workshop/content/javascript/buildpipe/credhelper/_index.en.md @@ -6,14 +6,7 @@ weight = 10 One of the cool things about CodeCommit is the support for IAM authentication. And if you are running this workshop from a Cloud9 workspace, you can leverage the fact that your terminal is already pre-authenticated with valid AWS credentials. -Run the following commands from your terminal: - -``` -git config --global credential.helper '!aws codecommit credential-helper $@' -git config --global credential.UseHttpPath true -``` - -Now configure the git client with username and email, so your commits have an author defined. +Configure the git client with username and email, so your commits have an author defined. ``` git config --global user.name "Replace with your name" diff --git a/workshop/content/javascript/buildpipe/gitpush/_index.en.md b/workshop/content/javascript/buildpipe/gitpush/_index.en.md index b10cebb..0663bdd 100644 --- a/workshop/content/javascript/buildpipe/gitpush/_index.en.md +++ b/workshop/content/javascript/buildpipe/gitpush/_index.en.md @@ -33,14 +33,10 @@ Example: ![GitCommit](/images/screenshot-git-commit.png) ### Push the code -Add your CodeCommit repository URL as a _remote_ on your local git project. This is the `cloneUrlHttp` value that you got back after creating the repository in Step 1 of this chapter. - -{{% notice tip %}} -If you can't find the CodeCommit repository URL, you can find it by running this command: `aws codecommit get-repository --repository-name sam-app`. -{{% /notice %}} +Add your CodeCommit repository URL as a _remote_ on your local git project. ``` -git remote add origin REPLACE_WITH_HTTP_CLONE_URL +git remote add origin codecommit://sam-app ``` {{% notice tip %}}