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
posta 9 mesi fa365 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 9 mesi fa
  • 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".

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande