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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ