Skip to content

Warn when using rebase.updateRefs = true #4678

@ruudk

Description

@ruudk

Your message to us

I enabled updateRefs last week to see if that would improve stacking PR's using normal git operations.

I didn't really think about it anymore, until I noticed a lot of my git town sync's started to mess up my branches completely.

Every time I did a rebase, I would fix commits that were also in other branches, and those were messed up too.

I guess that's the goal of updateRefs. But I would say it does not work nicely with Git town.

Maybe it would be good to add some tests for this, to see how it affects syncing, and maybe warn users about this.

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