Skip to content

git pull with rebase and autostash #9321

@morvael

Description

@morvael

Apache NetBeans version

Apache NetBeans 29

What happened

I believe the GIT action/toolbar button "Pull from Upstream" is misleading. It's not using git pull action, but git merge --ff. I configured git globally (and repository specifically) to use rebase & autostash for pull by default and hoped the button will do exactly that. Sadly there's no pull button and no option to configure and change default behavior. I think current button could be renamed to fetch & merge (or just merge) and new button added with specifically the pull action (honoring global/repository default settings).

Language / Project Type / NetBeans Component

Java Maven Project

How to reproduce

Use GIT "Pull from Upstream" toolbar button or relevant menu action. Check output.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux Mint MATE 22.3 (kernel 6.17.0-20-generic)

JDK

Temurin-21.0.10+7

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    git[ci] enable versioning jobkind:featureA feature requestneeds:triageRequires attention from one of the committers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions