How to merge two branches using the fast-forward merge strategy in AWS CodeCommit

0 votes

Hi Team,

I have two branches in AWS CodeCommit. But I am trying to merge the branches. But it shows conflicts. How can I merge conflicts using the fast-forward merge strategy?

Nov 24, 2020 in AWS by akhtar
• 38,260 points
894 views

1 answer to this question.

0 votes

Hi@akhtar,

The following merge-branches-by-fast-forward example merges the specified source branch with the specified destination branch in a repository named MyDemoRepo.

$ aws codecommit merge-branches-by-fast-forward \
    --source-commit-specifier bugfix-bug1234 \
    --destination-commit-specifier bugfix-bug1233 \
    --repository-name MyDemoRepo

answered Nov 24, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,170 points
19,883 views
0 votes
1 answer

How to Pass the VPC ID while creating the Ec2 instance in AWS using Python Boto3

import boto3 ec2 = boto3.resource('ec2') instance = ec2.create_instances( ...READ MORE

answered Jan 29, 2019 in AWS by Priyaj
• 58,020 points
3,595 views
0 votes
1 answer

What are branches in AWS CodeCommit and how to create one?

To create branches, click on Branches on ...READ MORE

answered Jun 13, 2019 in AWS by Trisha
1,318 views
0 votes
1 answer

How to change the default branch for a repository in AWS CodeCommit?

Hi@akhtar, You can set or change the default branch name ...READ MORE

answered Nov 24, 2020 in AWS by MD
• 95,460 points
2,519 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How to merge two branches using the squash merge strategy in AWS CodeCommit?

Hi@akhtar, You can merge two branches using the ...READ MORE

answered Nov 24, 2020 in AWS by MD
• 95,460 points
1,479 views
0 votes
1 answer

how to get the list of aws services i am used in aws my account by using the lambda function

Hi@shalk, You can create a session in your ...READ MORE

answered Sep 24, 2020 in AWS by MD
• 95,460 points
2,470 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP