Skip to content

Single-action web UI for a fork to fast-forward pull from origin (Sync fork) #20880

Closed
@wolftune

Description

@wolftune

Feature Description

As appears to have been requested in #2488 but never achieved… This is what should be doable more easily:

  • User creates fork
  • User wants to get their unchanged main branch of their fork to match current origin main branch (i.e. the same as if they forked anew)

Imagine a web-ui user (e.g. a contributor who is helping with docs and is not comfortable with Git or CLI etc) who only makes changes on branches of their fork, keeping their main branch locked to the origin's main.

Right now, these several-too-many steps are required for those using the web ui:

  • At fork, click "New Pull Request"
  • Click the little side-symbol to "Switch head and base"
  • Click "New Pull Request"
  • Scroll down and click "Create Pull Request"
  • Use the drop-down to choose "Rebase then fast-forward"
  • Click "Rebase then fast-forward" (to set that method actually)
  • Click "Rebase then fast-forward" (to actually do it)
  • Click <code> or the fork title to return to the overview of the fork

That's a lot of steps for what could easily be a single button "fast-forward to latest origin" which could show up whenever origin is ahead of the fork, and it would pull with --ff-only and just stay right on the main fork view.

For those comfortable with Git, they might skip the Web UI anyway. For those not comfortable, this Web UI process is almost hostile. Without the button I'm requesting, there's no way to easily onboard the sort of contributor who is most comfortable with web UI and have simple instructions about how to use the Web UI to make a fork and keep its main branch updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions