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.

질문됨 일 년 전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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠