question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Delete Branch from Branches View

See original GitHub issue

Describe the feature or problem you’d like to solve

I would like to be able to delete branches from the branches selection menu, along with PRs.

Proposed solution

Add a little trash can icon next to the branch you want to delete. When you click it, it will come up with a notice saying what it will do. If the user clicks Confirm, the branch will be deleted. If the user clicks cancel, the branch will not be deleted. The Master Branch cannot be deleted from it.

Additional context

Mock ups

GitHubDesktop_ObeyntEbIh GitHubDesktop_ccFZESo31v

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
dhunmooncommented, Aug 25, 2020

@tierninho I totally agree with you there. Even if I like the feature which is something good to have, the deleting branch is not a frequent action. The way this feature is done in the application is better.

2reactions
tierninhocommented, Aug 24, 2020

@TheCrafters001 Thanks for the suggestion. I can imagine that we do not want to make deleting a branch too exposed as it may get clicked accidentally too often, despite the warning message. There is similar logic behind omitting a ctl/cmd-D keyboard shortcut.

As both your suggestion and the current way take two clicks, I am hesitant to move forward. Going to label this appropriately and see if we get any relevant feedback from other users before taking any further action.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Delete Branch – How to Remove a Local or Remote Branch
Instead of using the git branch command that you use for local branches, you can delete a remote branche with the git push...
Read more >
How do I delete a Git branch locally and remotely?
So, to delete the remote branch AND locally-stored remote-tracking branch in one command, just use git push origin --delete <branch> . Then, you...
Read more >
Git Delete Branch How-To, for Both Local and Remote
You'll often need to delete a branch not only locally but also remotely. To do that, you use the following command: git push...
Read more >
How can I delete a remote branch in Git? - Tower Git Client
In case you are using the Tower Git client, you can simply right-click any branch item in the sidebar and choose the "Delete…"...
Read more >
How to delete local branches in Git - GitKraken
To perform a Git delete local branch, run the Git branch command followed by the -d flag. Learn how to Git delete local...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found