set default branch via api (OD-1422)
Released
crash opened 11 months 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' 11 months ago
Previous Value Current Value
Open
Closed
OneDev commented 11 months ago

State changed as code fixing the issue is committed (28e9c908)

OneDev changed state to 'Released' 11 months ago
Previous Value Current Value
Closed
Released
OneDev commented 11 months ago

State changed as build #3827 is successful

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