Skip to content

[HowTo] Rebasing PRs #937

Closed
Closed
@pi0

Description

@pi0

There are new breaking changes on master so all UnitTests was failing on PRs.

In order to rebase your forks with master branch and running UnitTests against latest changes you can follow this steps.
Assuming we want to rebase #918 (fieteboerner:aggregate-subdocument). on your fork :

# Add upstream and fetch everything
git remote add upstream git@github.com:jenssegers/laravel-mongodb.git
git fetch upstream

# Checkout to patch branch
git checkout aggregate-subdocument

# Rebase with upstream's master
git rebase upstream/master

# Fast-Forward Changes
git push -ff

Then you can check your PR again for failing tests and fix them :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions