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

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

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

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

  • Unknown commented 3 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 3 years ago

    @polarian so this is configurable.

  • OneDev changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 3 years ago

    State changed as code fixing the issue is committed

  • OneDev changed state to 'Released' 3 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 3 years ago

    State changed as build #3440 is successful

  • wilson0x4d commented 2 years ago

    where is this configurable?

  • Robin Shen commented 2 years 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/1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (5)
Reference
OD-1137
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover