1 Answer
- Newest
- Most votes
- Most comments
0
If the master branch is not coming under repository, then the local files are not pushed to the codecommit repository. Under Populate the Git repository section, Kindly ensure you have followed all the below mentioned steps. At the last, you will be pushing the files to repository where it create a branch master.
a. Change directory into your repository and copy the static files from S3:
cd wildrydes-site
aws s3 cp s3://wildrydes-us-east-1/WebApplication/1_StaticWebHosting/website ./ --recursive
b. Commit the files to your Git service
$ git add .
$ git commit -m 'new'
$ git push
Counting objects: 95, done.
Compressing objects: 100% (94/94), done.
Writing objects: 100% (95/95), 9.44 MiB | 14.87 MiB/s, done.
Total 95 (delta 2), reused 0 (delta 0)
* [new branch] master -> master
answered a year ago
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- Why did my CloudWatch canary fail with the error "Node is either not visible or not an HTMLElement"?AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago