Branch name under repository is not visible in Amplify

0

https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/module-1/

Hi All,

I am referring above link to practice serverless application.

I first created the Git repo in codecommit and then used the connection steps for HTTP to run git clone in git bash. Post that I populated the git repository but when I tried to create web app in Amplify, its not showing the branch name.

Please help.

已提問 1 年前檢視次數 382 次
1 個回答
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
AWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南