Skip to content

Wrong git command to delete remote branch #385

@avargaskun

Description

@avargaskun

Hello,

When I try to delete a remote branch using the GITLENS sidebar, the command entered on the terminal appears to be slightly off. Maybe I'm doing something wrong?

  • GitLens Version: 8.3.2
  • VSCode Version: 1.23.1
  • OS Version: Windows 10 Pro (16299.431)

Steps to Reproduce:

  1. Got to Source Control view (Ctrl + Shift + G) and expand the GITLENS section in the sidebar
  2. Find branch to delete under Remotes (e.g. geolocation)
  3. Right click on branch and choose Delete Branch (via Terminal)

Result:

Text entered into terminal reads: git push true :origin/geolocation

Expected result:

Text entered into terminal reads: git push origin :geolocation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions