[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[savannah-help-public] [sr #107682] deleting a remote branch in git
From: |
Nikos Mavrogiannopoulos |
Subject: |
[savannah-help-public] [sr #107682] deleting a remote branch in git |
Date: |
Tue, 26 Apr 2016 06:59:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #16, sr #107682 (project administration):
I add new features in feature branches like "simpler-decoding" in the libtasn1
project. However I cannot fast forward this branch as I rewrite the original
patch:
$ git push -f
Total 0 (delta 0), reused 0 (delta 0)
remote: error: denying non-fast-forward refs/heads/simpler-decoding (you
should pull first)
To ssh://git.sv.gnu.org/srv/git/libtasn1.git
! [remote rejected] simpler-decoding -> simpler-decoding (non-fast-forward)
error: failed to push some refs to
'ssh://git.sv.gnu.org/srv/git/libtasn1.git'
Nor I can delete the branch once it is no longer needed (merged in master).
$ git push origin :simpler-decoding
remote: *** Deleting a branch is not allowed in this repository
remote: error: hook declined to update refs/heads/simpler-decoding
To ssh://git.sv.gnu.org/srv/git/libtasn1.git
! [remote rejected] simpler-decoding (hook declined)
error: failed to push some refs to
'ssh://git.sv.gnu.org/srv/git/libtasn1.git'
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107682>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/