default branch to main (OD-1137)
Released
Andreas Wachter opened 2 years ago

Is there any way to set the default branch to "main" by default when creating a new project?

Robin Shen changed fields 2 years ago
Name Previous Value Current Value
Type
Support Request
Improvement
Robin Shen commented 2 years ago

Not possible now, and will make default branch configurable in future versions.

Unknown commented 2 years ago

OBJECT: This should be added as a feature but not made default like every other git platform, it should be solely up the user and or sysadmin to decide the default branch name.

Robin Shen commented 2 years ago

@polarian so this is configurable.

OneDev changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
OneDev commented 1 year ago

State changed as code fixing the issue is committed

OneDev changed state to 'Released' 1 year ago
Previous Value Current Value
Closed
Released
OneDev commented 1 year ago

State changed as build #3440 is successful

wilson0x4d commented 4 months ago

where is this configurable?

Robin Shen commented 4 months ago

It will use the first branch you pushed to OneDev as default branch. And you may change default branch afterwards from branches page.

issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (5)
Reference
OD-1137
Please wait...
Page is in error, reload to recover