FG
💻 Software

Can't remove remote branch in git

Fresh5 days ago
Mar 15, 202620563 views
Confidence Score0%
0%

Problem

I'm trying to remove a remote branch with git: Is there a way I can remove this branch from the list of "Remote branches" so I can remove it?

Error Output

rpinson@rpinson:~/dev/charismanie$ git remote show origin 
* remote origin
  Fetch URL: git@github.com:raphink/Charismanie.git
  Push  URL: git@githu…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can't remove remote branch in git

Low Risk

The branch was set as default on github, preventing it from being deleted. On github, I went to "Administration" in the project, reset the default branch to "master" and I was able to remove the xetex branch.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment