set default branch via api (OD-1422)
crash opened 3 years ago

Hi, I see there is an API method to GET the default branch of a repo ( #854) but it isn't currently possible to SET a new default. It could be very useful (at least on my use-case) to programmatically set a default passing the branch name (eg.: main or master).

Thanks, crash

  • 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 (28e9c908)

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

    State changed as build #3827 is successful

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-1422
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover