Skip to content

[UX] Incorrect use of "Fetch" terminology in branch context menu #2652

Description

@timolex

Current Behavior

In the UI, when right-clicking on a local branch to perform an action to integrate a remote-tracking branch into a local branch, the corresponding label reads something like:
Fetch origin/master into master:

Image

However, under the hood, this action executes a git fetch followed by git pull or git merge, which absolutely alters the local working branch.

Why This Is an Issue

In Git terminology, fetch is strictly a safe, non-destructive operation. A standard git fetch updates local remote-tracking branches (like origin/master) but never touches or modifies local working branches (like master).

Using the phrase "Fetch [remote] into [local]" is technically inaccurate and creates UX confusion. A user expecting a harmless background fetch might accidentally trigger an unintended merge, potentially leading to unexpected merge conflicts in their active workspace.

Suggested Fix

Change the UI text to use accurate Git terminology. Depending on the exact underlying command being executed, consider changing the label to:

  • Pull origin/master into master (if it fetches and merges)
  • Merge origin/master into master (if it is specifically performing the merge step)

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions