gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

#891: Pass start_branch param in RepositoryFileApi.updateFile form

Open ymikhailenko opened this issue 3 years ago • 0 comments

When committing to non-existent branch on a project with other branches, API throws 400 Bad Request with {message: "You can only create or edit files when you are on a branch"}. To avoid it you need to pass start_branch param.

ymikhailenko avatar Dec 30 '22 03:12 ymikhailenko