Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Git Menu: Switch Branch... Error code: 128 fatal: A branch named 'master' already exists. #352

@jstritch

Description

@jstritch

Command Name

Switch Branch

Steps to Reproduce

  1. From the master branch, use Create Branch to create a new branch.
  2. Observe the new branch is correctly selected.
  3. Invoke Switch Branch, select the master branch, and press the Switch Branch button.

Expected Behavior

The master branch would be selected.

Actual Behavior

The error message given in the subject line of this issue is displayed.
The command handler is trying to create the branch. It should not create the branch.

Environment

  • OS: Linux Mint 20.2 - Cinnamon
  • apm --version:
    • apm 2.6.2
    • npm 6.14.13
    • node 12.14.1 x64
    • atom 1.57.0
    • python
    • git 2.32.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions