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 年前383 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则