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 23, 2020 in AWS by akhtar
• 38,180 points
85 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 23, 2020 by MD
• 95,240 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,150 points
12,553 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,120 points
1,515 views
0 votes
1 answer
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,240 points
276 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,240 points
560 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,240 points
298 views