#10344 Remove accidentally pushed branch
Closed: Fixed 2 years ago by humaton. Opened 2 years ago by ellert.

  • Describe the issue

I accidentally pushed a branch for a PR to the main repo in addition to my fork, and now I am not allowed to remove it.

Repo: rpms/davix
Branch: new-cmake-macros

$ git push origin :new-cmake-macros 
remote: Branch deletion is not allowed
remote: Denied push for ref 'refs/heads/new-cmake-macros' for user 'ellert'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/rpms/davix
 ! [remote rejected] new-cmake-macros (pre-receive hook declined)
  • When do you need this? (YYYY/MM/DD)

It is not super urgent, but...

  • When is this no longer needed or useful? (YYYY/MM/DD)

Never

  • If we cannot complete your request, what is the impact?

Confusing odd named branch stays in git.


Metadata Update from @humaton:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata