helpSavannah Administration - Support: sr #108056, Another git non-fastforward issue


sr #108056: Another git non-fastforward issue

Submitted by:  Eddie Carle <eddic>
Submitted on:  Fri May 11 15:42:34 2012  
Category: Source code repositories - developer accessPriority: 5 - Normal
Severity: 3 - NormalStatus: In Progress
Assigned to: Michael J. Flickinger <mjflick>Operating System: None
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Tue May 22 04:13:44 2012, comment #8:

Excellent. I have deleted the old branch. Thanks for the help.

Eddie Carle <eddic>
Sat May 19 13:40:51 2012, comment #7:

Ok, changed that branch to master.

Your old master is in master-old, do you want it deleted?

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Sat May 19 04:19:12 2012, comment #6:

I've push a new-master branch. That is the proper master.

Eddie Carle <eddic>
Sat May 19 01:55:18 2012, comment #5:

All the settings on the server appear to be correct. I think it may be best to just to start a new branch and I'll switch it to the master branch.

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Fri May 18 15:21:28 2012, comment #4:

Hmmm, same as before. Both

git push -f origin master


git push -f origin :master

give the same error messages.

Eddie Carle <eddic>
Fri May 18 03:01:13 2012, comment #3:

Ok, tweaked something, please try again.

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Sat May 12 17:13:22 2012, comment #2:

It still doesn't seem to be working.

git push -f origin master

gives me

remote: error: denying non-fast-forward refs/heads/master


git push origin :master

gives me

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 to
remote: error: 'warn' or 'ignore' in the remote repository to allow deleting the
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

Eddie Carle <eddic>
Sat May 12 16:16:12 2012, comment #1:


After you fix your repository please write back so I can turn denyNonFastforwards back to true.

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Fri May 11 15:42:34 2012, original submission:

Can I get non-fastforward pushes enabled on the fastcgipp repository? I made some bad pushes and would really like to get rid of them. I am aware of the consequences but would like to sort this sooner than later.


Eddie Carle <eddic>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mjflick (Posted a comment)
  • -unavailable- added by eddic (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Aug 9 20:50:25 2013johnschmidt4Open/ClosedOpen=>Closed
    Sat May 12 16:16:12 2012mjflickStatusNone=>In Progress
      Assigned toNone=>mjflick

    Back to the top

    Powered by Savane 3.1-cleanup1