From the course: Deploying Your AWS Application to the Cloud with Docker

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Uploading your code to CodeCommit

Uploading your code to CodeCommit - Amazon Web Services (AWS) Tutorial

From the course: Deploying Your AWS Application to the Cloud with Docker

Start my 1-month free trial

Uploading your code to CodeCommit

- [Instructor] Here on the left, we have our sample web application, which is included in the exercise files. On the right, we have the empty repository that we just cloned from CodeCommit. By the way, I created a copy of the repository under my user home folder. It's not a good practice to clone a repository directly on your computer's desktop when they get accidentally deleted, or mistaken with a non-version control version of your code. Let's go ahead and upload our files to our repository. Going to select our files, click copy, and then paste. Now let's switch over to our terminal. I'll start with git status. So you can see our files are there. They're not being tracked at the moment. I'll do git add. Clear the screen. Now let's commit our changes. We'll call it First Commit. With our commit completed, let's do git push. And this is going to move our files from our local copy up to our CodeCommit…

Contents