glab
glab copied to clipboard
Modify default branch of remote repo after creation
The --defaultBranch parameter of glab repo create allows for specification of the default branch upon project creation.
I would like to actually modify the default branch of my remote repo after creation. This is important, for example, if I accidentally push a fresh local repo with a branch name of master.
Is there a way to do this through the glab CLI?
There is not a way to do it right now. But this could be added by a new
repo update command.
On Thu, Nov 25, 2021, 16:41 Amine Aboufirass @.***> wrote:
The --defaultBranch parameter of glab repo create allows for specification of the default branch upon project creation.
I would like to actually modify the default branch of my remote repo after creation. This is important, for example, if I accidentally push a fresh local repo with a branch name of master.
Is there a way to do this through the glab CLI?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/profclems/glab/issues/914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRIDTPB6WCYVKTC7LQDHK3UNZDLNANCNFSM5IYWRG5A .
This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.