Skip to content

docs: How to rebase a branch before a PR #191

Open
@fyliu

Description

@fyliu

Overview

We need documentation for how to rebase a development branch in preparation for opening a PR so that developers can avoid conflicts in their PRs. This happens often enough that we should create this guide even before the MkDocs migration.

Action Items

Resources/Instructions

  • compare rebase with merge, why we want to choose rebase over merge
  • steps to rebase
    • make sure the code works well in the branch
    • optional interactive rebase to simplify commit history
    • fetch hackforla/main
    • git rebase hackforla/main
    • resolve merge conflicts
    • resolve migration file conflicts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    📋Prioritized Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions