Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Streaminline guide with the updated Java guideline
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fritz authored and ferdingler committed Feb 22, 2021
1 parent fde8fc2 commit a08de4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 2 additions & 6 deletions workshop/content/javascript/buildpipe/gitpush/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}}
Expand Down

0 comments on commit a08de4d

Please sign in to comment.