gitlab4j-api
gitlab4j-api copied to clipboard
#891: Pass start_branch param in RepositoryFileApi.updateFile form
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.