CodeCommit: Pull Request: How to rebase before merge?

0

Before merging pull request via CodeCommit's Pull Request feature, I'd like the branch to be rebased to the target branch.

The goal: Retain a clean and easy-to-read commit history with no-ff-merging.

How do I do that? Would I need to manually rebase via CLI and run a new pull request?

Mark
demandé il y a 9 mois365 vues
1 réponse
0

Hi,

You may want to read this very detailled article about git merge / rebase to define the right process for your use case: https://www.algolia.com/blog/engineering/master-git-rebase/

It provides different paths to create the proper commit history in your repo.

Best,

Didier

profile pictureAWS
EXPERT
répondu il y a 9 mois
  • I appreciate the link. However, we already have a definition of how a commit history looks like. That definition says "rebase before merging and no squash commits".

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions