[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-help-public] [sr #107909] please set receive.denyDeleteCurrent
From: |
Ben Pfaff |
Subject: |
[Savannah-help-public] [sr #107909] please set receive.denyDeleteCurrent to "warn" for PSPP |
Date: |
Tue, 13 Dec 2011 20:47:26 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16 |
URL:
<http://savannah.gnu.org/support/?107909>
Summary: please set receive.denyDeleteCurrent to "warn" for
PSPP
Project: Savannah Administration
Submitted by: blp
Submitted on: Tue 13 Dec 2011 12:47:24 PM PST
Category: Developer Source Code Repositories
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Assigned to: None
Originator Email: address@hidden
Operating System: GNU/Linux
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I goofed pushing to the PSPP Git repository, pushing a bunch of commits that I
did not intend to the master branch. Now I want to fix that. In the past
I've been able to do that by deleting the master branch and recreating it at
the correct point, but Savannah now prevents deleting the master branch with
the message:
remote: error: By default, deleting the current branch is denied, because the
next
remote: error: 'git clone' won't result in any file checked out, causing
confusion.
remote: error:
remote: error: You can set 'receive.denyDeleteCurrent' configuration variable
t
remote: error: 'warn' or 'ignore' in the remote repository to allow deleting
th
remote: error: current branch, with or without a warning message.
remote: error:
remote: error: To squelch this message, you can set it to 'refuse'.
remote: error: refusing to delete the current branch: refs/heads/master
Will you please set 'receive.denyDeleteCurrent' to 'warn' for the PSPP Git
repository, so that I can fix the problem?
Thanks,
Ben.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107909>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Savannah-help-public] [sr #107909] please set receive.denyDeleteCurrent to "warn" for PSPP,
Ben Pfaff <=