helpSavannah Administration - Support: sr #110462, Renaming from master to main...

 
 

sr #110462: Renaming from master to main branch in git repository

Submitted by:  Heiko Stamer <stamer>
Submitted on:  Sat 20 Mar 2021 12:14:24 PM UTC  
 
Category:  Source code repositories - developer access Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Assigned to:  None Operating System:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Sat 20 Mar 2021 12:14:24 PM UTC, original submission:  

Recently I've renamed the current branch from "master" to main in the git repository of my project LibTMCG. However, I cannot delete the old "master" branch:

$ git push origin --delete master
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
To git.sv.gnu.org:/srv/git/libtmcg.git
 ! [remote rejected] master (deletion of the current branch prohibited)

Please, can you delete the master branch?

Heiko Stamer <stamer>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by stamer (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.6